unshelve --dry-run crashes and leaves the repository locked
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Fix Released
|
Medium
|
Unassigned |
Bug Description
With the latest bzr.dev (r4010) unshelve --dry-run crashes and leaves the repository locked. To continue requires doing a break-lock and then doing an unshelve *without* --dry-run.
$ bzr unshelve --dry-run
Unshelving changes with id "1".
Message: Add test.
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/
Unshelver.
File "/home/
self.
File "/home/
tt = tree_merger.
File "/home/
self.
File "/home/
self.
File "/home/
self.
File "/home/
if task != self._task_
IndexError: list index out of range
bzr 1.13dev on python 2.5.2 (linux2)
arguments: ['/home/
encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'en_US.UTF-8'
plugins:
bisect /home/wjlanda/
bookmarks /home/wjlanda/
bzrtools /usr/lib/
cvsps_import /usr/lib/
diffstat /home/wjlanda/
extcommand /home/wjlanda/
gtk /home/wjlanda/
interactive /home/wjlanda/
launchpad /home/wjlanda/
netrc_
qbzr /home/wjlanda/
rebase /usr/lib/
search /home/wjlanda/
stats /usr/lib/
svn /home/wjlanda/
upload /usr/lib/
xmloutput /home/wjlanda/
*** Bazaar has encountered an internal error.
Please report a bug at https:/
including this traceback, and a description of what you
were doing when the error occurred.
Related branches
tags: | added: shelf |
Changed in bzr: | |
status: | In Progress → Fix Released |
Possibly related, bzr unshelve spits out warnings even when it does work:
$ bzr unshelve --apply lib/python/ bzrlib/ ui/text. py:96: UserWarning: ProgressTask(0/3, msg='Merge phase') is not the top progress task ProgressTask( None/None, msg='') stack[- 1])) lib/python/ bzrlib/ ui/text. py:96: UserWarning: ProgressTask(1/3, msg='Merge phase') is not the top progress task ProgressTask( None/None, msg='') stack[- 1])) lib/python/ bzrlib/ ui/text. py:96: UserWarning: ProgressTask(2/3, msg='Merge phase') is not the top progress task ProgressTask( None/None, msg='') stack[- 1]))
Unshelving changes with id "1".
/home/wjlanda/
(task, self._task_
/home/wjlanda/
(task, self._task_
M A
M B
M C
M D
/home/wjlanda/
(task, self._task_
All changes applied successfully.