From: David Symonds Date: Mon, 8 Oct 2012 11:24:41 +0000 (+1100) Subject: doc: update text about hgrc and environment variables. X-Git-Tag: go1.1rc2~2193 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=156d85c3e901d7bd7d03183fd4c986386db12446;p=gostls13.git 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 --- 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.