"bzr pull :push" constructs a bad URL and fails
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
My branch on LP had been changed on another computer. I wanted to get the changes. For my local branch, the LP repository is the 'push' destination. So I attempted 'bzr pull :push', which looks funny but is exactly what I wanted. The results are:
.../bac/
bzr: ERROR: Not a branch: "/home/
As you can see, the URL used is relative to my local cwd, which is odd.
The related branches are:
.../bac/
Repository tree (format: 1.6)
Location:
shared repository: /home/bac/
repository branch: .
Related branches:
public branch: bzr+ssh:
push branch: lp:~bac/launchpad/bug-242994
parent branch: /home/bac/
submit branch: /home/bac/
And the bzr version is:
.../bac/
Bazaar (bzr) 1.14.1
Python interpreter: /usr/bin/python 2.6.2
Python standard library: /usr/lib/python2.6
bzrlib: /usr/lib/
Bazaar configuration: /home/bac/.bazaar
Bazaar log file: /home/bac/.bzr.log
Weird.
What does 'bzr lp-open :push' says ?
I suspect you put 'lp:~bac/launchpad/bug-242994/' in your branch.conf manually ?
That may be the root cause, in which case, we may have to process the URLs from our configuration files as we process the ones from the command line or something (but that may conflict with the idea of resolving them at the latest possible time which could also address your problem).