ValueError when creating remote branch over bzr+ssh
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Triaged
|
High
|
Unassigned |
Bug Description
Hello,
This is a completely reproducable error:
bob@space> bzr init-repo --development --no-trees /path/to/repo
alice@hole> bzr init --development /path/to/alice_code
alice@hole> cd /path/to/alice_code ; touch hello.c; bzr add; bzr commit -m init
alice@hole> bzr push bzr+ssh:
alice@space's password:
Created new branch.
Added Revisions:
bzr: ERROR: exceptions.
Traceback (most recent call last):
File "/home/
return run_bzr(argv)
File "/home/
ret = run(*run_argv)
File "/home/
return self.run(
File "/home/
to_
File "/home/
search=None)
File "/home/
start_revision, end_revision, search, limit)
File "/home/
allow_
File "/home/
view_revisions = _filter_
File "/home/
graph.
File "/home/
parent_map = dict(((key, value) for key, value in
File "/home/
next_map = self.get_
File "/home/
parent_map = self._get_
File "/home/
"key %r not a plain string" % (key,))
ValueError: key None not a plain string
bzr 1.5dev on python 2.5.2 (linux2)
arguments: ['/home/
encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'en_US.UTF-8'
I hope my imaginary paths are consistent : )
Both bzr's on alice's machine and on bob's are development revision 3403.
I'm guessing you actually have 'bzr push' aliased to 'bzr push --verbose', otherwise it wouldn't be showing the revisions.
This is actually similar to bug #211661. Basically .get_parent_map() doesn't allow None to be passed, but push --verbose is triggering it.
I haven't been able to reproduce it here yet (running bzr.dev 3402 ATM), it might also have something to do with using '--development' formats.