Commit 156d85c3 authored by David Symonds's avatar David Symonds

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
parent d5b570cd
...@@ -110,14 +110,13 @@ command. ...@@ -110,14 +110,13 @@ command.
<pre> <pre>
[extensions] [extensions]
codereview = YOUR_GO_ROOT/lib/codereview/codereview.py codereview = $GOROOT/lib/codereview/codereview.py
[ui] [ui]
username = Your Name &lt;you@server.dom&gt; username = Your Name &lt;you@server.dom&gt;
</pre> </pre>
<p>Replace YOUR_GO_ROOT with the value of <code>$GOROOT</code>. <p>
The Mercurial configuration file format does not allow environment variable substitution.
The <code>username</code> information will not be used unless The <code>username</code> information will not be used unless
you are a committer (see below), but Mercurial complains if it is missing. you are a committer (see below), but Mercurial complains if it is missing.
</p> </p>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment