summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Gerrand <adg@golang.org>2015-01-08 14:10:03 +1100
committerAndrew Gerrand <adg@golang.org>2015-01-08 14:10:03 +1100
commit01de671ce3363c587709b986cbd9b569347e0b80 (patch)
treec2330ef9e1ee9872e78e59991af263d68ab72c06
parent7bb4c491ecc539d1f47fbeae49eff841c2062d82 (diff)
downloadgo-release-branch.go1.4.tar.gz
[release-branch.go1.4] doc: fix antiquated source install instructionsrelease-branch.go1.4
Related to https://golang.org/issue/9529 LGTM=r R=r CC=golang-codereviews https://codereview.appspot.com/194050043
-rw-r--r--doc/install-source.html6
1 files changed, 4 insertions, 2 deletions
diff --git a/doc/install-source.html b/doc/install-source.html
index f53deb404..5fe9dd0b7 100644
--- a/doc/install-source.html
+++ b/doc/install-source.html
@@ -121,10 +121,12 @@ if necessary.
<p>Go will install to a directory named <code>go</code>.
Change to the directory that will be its parent
and make sure the <code>go</code> directory does not exist.
-Then check out the repository:</p>
+Then check out the repository and sync to the release version:</p>
<pre>
-$ hg clone -u release https://code.google.com/p/go
+$ hg clone https://code.google.com/p/go
+$ cd go
+$ hg update release
</pre>
<h2 id="head">(Optional) Switch to the default branch</h2>