]> Cypherpunks repositories - gostls13.git/commitdiff
doc: update text about hgrc and environment variables.
authorDavid Symonds <dsymonds@golang.org>
Mon, 8 Oct 2012 11:24:41 +0000 (22:24 +1100)
committerDavid Symonds <dsymonds@golang.org>
Mon, 8 Oct 2012 11:24:41 +0000 (22:24 +1100)
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

index 7a80fca012dbe12e0f05216de59593c3c721ddd0..832065790494f6b62a2947e48e59bae4f7ea579e 100644 (file)
@@ -110,14 +110,13 @@ command.
 
 <pre>
 [extensions]
-codereview = YOUR_GO_ROOT/lib/codereview/codereview.py
+codereview = $GOROOT/lib/codereview/codereview.py
 
 [ui]
 username = Your Name &lt;you@server.dom&gt;
 </pre>
 
-<p>Replace YOUR_GO_ROOT with the value of <code>$GOROOT</code>.
-The Mercurial configuration file format does not allow environment variable substitution.
+<p>
 The <code>username</code> information will not be used unless
 you are a committer (see below), but Mercurial complains if it is missing.
 </p>