summaryrefslogtreecommitdiff
path: root/src/cmd/goinstall/main.go
diff options
context:
space:
mode:
authorGustavo Niemeyer <gustavo@niemeyer.net>2010-06-30 23:33:49 -0700
committerGustavo Niemeyer <gustavo@niemeyer.net>2010-06-30 23:33:49 -0700
commitcf7ae5a1d0bff75439e36184787ac2ed204824d8 (patch)
treef48840f40bf0dfca33280ba6a9eff5a556971cf9 /src/cmd/goinstall/main.go
parenta9290c16cab4cb1101f5fb3da36f4f9fc162502b (diff)
downloadgolang-cf7ae5a1d0bff75439e36184787ac2ed204824d8.tar.gz
goinstall: support for Bazaar+Launchpad
With these changes, goinstall is now able to use branches maintained with Bazaar located in Launchpad. Project aliases such as /project and /project/series are supported in addition to specific user or team branches such as /~user/project/branch. Temporary branches under the +junk special project are also supported. As a curious side effect, since Launchpad is able to import code from other locations, they can be indirectly accessible too if desired. R=rsc CC=golang-dev http://codereview.appspot.com/1699050 Committer: Russ Cox <rsc@golang.org>
Diffstat (limited to 'src/cmd/goinstall/main.go')
-rw-r--r--src/cmd/goinstall/main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/goinstall/main.go b/src/cmd/goinstall/main.go
index ecd21536e..60efdf082 100644
--- a/src/cmd/goinstall/main.go
+++ b/src/cmd/goinstall/main.go
@@ -184,7 +184,7 @@ func quietRun(dir string, stdin []byte, cmd ...string) os.Error {
return genRun(dir, stdin, cmd, true)
}
-// genRun implements run and tryRun.
+// genRun implements run and quietRun.
func genRun(dir string, stdin []byte, cmd []string, quiet bool) os.Error {
bin, err := exec.LookPath(cmd[0])
if err != nil {