]> Cypherpunks repositories - gostls13.git/commitdiff
goinstall: fix -u for bzr
authorGustavo Niemeyer <gustavo@niemeyer.net>
Tue, 4 Jan 2011 03:22:18 +0000 (14:22 +1100)
committerAndrew Gerrand <adg@golang.org>
Tue, 4 Jan 2011 03:22:18 +0000 (14:22 +1100)
Changeset 7012:65601d7cac9e broke goinstall -u for bzr
branches.  This will fix it.

R=golang-dev, adg
CC=golang-dev
https://golang.org/cl/3852041

src/cmd/goinstall/download.go

index 61cabca17e57d4f4262874821c392f17d626c5a9..889f9d857bf6820a41e2acee588c977b12c76e04 100644 (file)
@@ -140,7 +140,7 @@ var svn = vcs{
 var bzr = vcs{
        cmd:               "bzr",
        metadir:           ".bzr",
-       checkout:          "checkout",
+       checkout:          "update",
        clone:             "branch",
        update:            "update",
        updateReleaseFlag: "-rrelease",