Invalid arguments to rebase cause internal error
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
bzr-rewrite |
New
|
Undecided
|
Unassigned |
Bug Description
Creating a repo with two branches and attempting to rebase with an invalid argument causes an error. To replicate, the following commands were run:
bzr init-repo repo
cd repo
bzr init trunk
cd trunk/
vi file.txt # Create a new file
bzr add file.txt
bzr commit -m "Add file"
cd ..
bzr branch trunk branch1
cd branch1
vi file.txt # Edit file.txt
bzr commit -m "Edit file"
cd ../trunk
vi file.txt # Edit file in a different way
bzr commit -m "Edit file (add Line 2)"
cd ../branch1
bzr rebase -r -2:.. ../trunk/
The output and traceback are as follows:
bzr: ERROR: exceptions.
Traceback (most recent call last):
File "/usr/lib/
return the_callable(*args, **kwargs)
File "/usr/lib/
ret = run(*run_argv)
File "/usr/lib/
return self.run(
File "/usr/lib/
return self._operation
File "/usr/lib/
self.cleanups, self.func, *args, **kwargs)
File "/usr/lib/
result = func(*args, **kwargs)
File "/usr/lib/
result = func(*args, **kwargs)
File "/usr/lib/
not always_
File "/usr/lib/
"invalid start revid(%r), todo_set(%r)" % (start_revid, todo_set)
AssertionError: invalid start revid('<email address hidden>'), todo_set(
bzr 2.5.0dev7 on python 2.7.3 (Linux-
sid)
arguments: ['/usr/bin/bzr', 'rebase', '-r', '-2:..', '../trunk/']
plugins: bash_completion
changelog_
git[0.6.9], gtk[0.101.0dev], launchpad[
netrc_
po_
encoding: 'utf-8', fsenc: 'UTF-8', lang: 'en_GB.UTF-8'
*** Bazaar has encountered an internal error. This probably indicates a
bug in Bazaar. You can help us fix it by filing a bug report at
https:/
including this traceback and a description of the problem.
Details from the end of .bzr.log are as follows:
Fri 2012-11-09 07:53:57 +0000
0.033 bazaar version: 2.5.0dev7
0.033 bzr arguments: [u'rebase', u'-r', u'-2:..', u'../trunk/']
0.034 looking for plugins in /home/graham/
0.034 looking for plugins in /usr/lib/
0.056 encoding stdout as sys.stdout encoding 'UTF-8'
0.071 opening working tree '/home/
0.079 Returning RevisionSpec.
0.082 Started 2 unique searchers for 2 unique revisions
0.082 Transferred: 0kB (0.0kB/s r:0kB w:0kB)
0.083 Traceback (most recent call last):
File "/usr/lib/
return the_callable(*args, **kwargs)
File "/usr/lib/
ret = run(*run_argv)
File "/usr/lib/
return self.run(
File "/usr/lib/
return self._operation
File "/usr/lib/
self.cleanups, self.func, *args, **kwargs)
File "/usr/lib/
result = func(*args, **kwargs)
File "/usr/lib/
result = func(*args, **kwargs)
File "/usr/lib/
not always_
File "/usr/lib/
"invalid start revid(%r), todo_set(%r)" % (start_revid, todo_set)
AssertionError: invalid start revid('<email address hidden>'), todo_set(
0.084 couldn't find apport bug-reporting library: No module named apport
0.101 return code 4
affects: | bzr → bzr-rewrite |