After bzr pump, "next" pipelines have a broken dirstate (got IndexError: list index out of range)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
bzr-pipeline |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
The following scenario makes it possible to reproduce the IndexError:
# branch lp:bzr-pipeline
nessita@
Branched 214 revisions.
# create a light weight checkout of trunk
nessita@
# create a pipeline to work with in the light checkout
nessita@
nessita@
* trunk
nessita@
Tree is up to date at revision 214.
Switched to branch: /home/nessita/
# make some modifications to commands.py and commit those changes
nessita@
Committing to: /home/nessita/
modified check-release.py
modified commands.py
Committed revision 215.
# push the changes somewhere
nessita@
Created new branch.
# add a pipe
nessita@
Tree is up to date at revision 215.
Created and switched to pipe "part-2".
# make some modifications to loom.py and commit them
nessita@
Committing to: /home/nessita/
modified loom.py
Committed revision 216.
# go to the previous pipe
nessita@
Switched from "part-2" to "part-1".
# make some extra modifications to commands.py and commit
nessita@
Committing to: /home/nessita/
modified commands.py
Committed revision 216.
# push the latest changes
nessita@
Using saved push location: bzr+ssh:
Pushed up to revision 216.
# pump the changes to the next pipe
nessita@
# switch to the next pipe
nessita@
Switched from "part-1" to "part-2".
nessita@
217: Natalia B. Bidart 2012-07-30 [merge] Merged part-1 into part-2.
# boom, dirstate is broken
nessita@
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/
classify=not no_classify)
File "/usr/lib/
classify=
File "/usr/lib/
want_
File "/usr/lib/
want_
File "/usr/lib/
result = unbound(self, *args, **kwargs)
File "/usr/lib/
want_
File "/usr/lib/
want_
File "_dirstate_
File "_dirstate_
File "_dirstate_
IndexError: list index out of range
You can report this problem to Bazaar's developers by running
apport-bug /var/crash/
if a bug-reporting window does not automatically appear.
nessita@
Is worth noting that running:
nessita@ dali:~/ projects/ test/current$ bzr repair-workingtree --force
fixes the error, until next bzr pump is run in previous pipes.