Skip to content

cmd/go: go get broken for bzr with no-tree repos #4757

@gopherbot

Description

@gopherbot

by bigjools:

What steps will reproduce the problem?
1. Set up no-tree repos, or,
  in bazaar.conf, set up an alias: "branch = branch --no-tree"
3. "go get launchpad.net/juju-core/..."

What is the expected output?
A valid working tree.


What do you see instead?
go get fails because my package tree is not checked out of the repo:

$ go get -v launchpad.net/juju-core/...
launchpad.net/juju-core (download)
# cd /home/ed/canonical/Go/src/launchpad.net/juju-core; bzr update -r revno:-1
bzr: ERROR: No WorkingTree exists for
"file:///home/ed/canonical/Go/src/launchpad.net/juju-core/.bzr/checkout/".
package launchpad.net/juju-core/...: exit status 3



Which compiler are you using (5g, 6g, 8g, gccgo)?
How do I find out?

Which operating system are you using?
Ubuntu 12.10

Which version are you using?  (run 'go version')
go1.0.2

Please provide any additional information below.

Metadata

Metadata

Assignees

No one assigned

    Labels

    ExpertNeededSuggestedIssues that may be good for new contributors looking for work to do.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions