1
0
mirror of https://github.com/golang/go synced 2024-09-23 21:20:13 -06:00

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
This commit is contained in:
David Symonds 2012-10-08 22:24:41 +11:00
parent d5b570cdb1
commit 156d85c3e9

View 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>