From 156d85c3e901d7bd7d03183fd4c986386db12446 Mon Sep 17 00:00:00 2001 From: David Symonds Date: Mon, 8 Oct 2012 22:24:41 +1100 Subject: [PATCH] doc: update text about hgrc and environment variables. Mercurial has supported environment variables in hgrc files since version 1.4 (released November 2009). R=golang-dev, dave, minux.ma CC=golang-dev https://golang.org/cl/6619067 --- doc/contribute.html | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/doc/contribute.html b/doc/contribute.html index 7a80fca012..8320657904 100644 --- a/doc/contribute.html +++ b/doc/contribute.html @@ -110,14 +110,13 @@ command.
 [extensions]
-codereview = YOUR_GO_ROOT/lib/codereview/codereview.py
+codereview = $GOROOT/lib/codereview/codereview.py
 
 [ui]
 username = Your Name <you@server.dom>
 
-

Replace YOUR_GO_ROOT with the value of $GOROOT. -The Mercurial configuration file format does not allow environment variable substitution. +

The username information will not be used unless you are a committer (see below), but Mercurial complains if it is missing.

-- 2.48.1