bzr pull from $MOJO_SPEC_DIR fails
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mojo: Continuous Delivery for Juju |
Confirmed
|
Low
|
Unassigned |
Bug Description
Due to being "inside" the lxc bzr pull from $MOJO_SPEC_DIR fails
$MOJO_SPEC_DIR$ bzr pull
Using saved parent location: /var/lib/
bzr: ERROR: Not a branch: "/var/lib/
Branch shows parent with LXC path rather than host path:
$MOJO_SPEC_DIR$ bzr info
Standalone tree (format: 2a)
Location:
branch root: .
Related branches:
parent branch: /var/lib/
If the branch is switched to the host path
$MOJO_SPEC_DIR$ bzr pull --remeber /home/thedac/
It then fails in more interesting ways
$MOJO_SPEC_DIR$ bzr pull
bzrlib.
Related branches
- Tom Haddon: Needs Fixing
-
Diff: 93 lines (+37/-13)2 files modifiedmojo/__init__.py (+4/-0)
mojo/cli.py (+33/-13)
The original intent of this bug is to be able to do the following:
cd $MOJO_SPEC_DIR
bzr pull
If the project is in a container this fails as described.