Bazaar has encountered an internal error when removing a directory manually removed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
New
|
Undecided
|
Unassigned |
Bug Description
I found this behavior in a project.
How to reproduce steps:
rego@linovski-
rego@linovski-
rego@linovski-
rego@linovski-
rego@linovski-
rego@linovski-
added a
added a/file
rego@linovski-
Committing to: /tmp/testeBug/
added a
added a/file
Committed revision 1.
rego@linovski-
rego@linovski-
removed:
a/
a/file
rego@linovski-
a does not exist.
rego@linovski-
rego@linovski-
bzr: ERROR: exceptions.
parent of: (('a', 'file', 'file-200811241
Traceback (most recent call last):
File "/usr/lib/
return run_bzr(argv)
File "/usr/lib/
ret = run(*run_argv)
File "/usr/lib/
return self.run(
File "/usr/lib/
force=
File "/usr/lib/
return unbound(self, *args, **kwargs)
File "/usr/lib/
want_
File "/usr/lib/
result = _process_
File "/usr/lib/
% (new_dirname, entry))
AssertionError: Could not find target parent in wt: a
parent of: (('a', 'file', 'file-200811241
bzr 1.3.1 on python 2.5.2.final.0 (linux2)
arguments: ['/usr/bin/bzr', 'remove', 'a/']
encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'en_US.UTF-8'
plugins:
launchpad /usr/lib/
*** 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.
rego@linovski-
This is not the supposed utilization. However, if we do it this way it crash.
(When I manual re-create the dir 'a', I had in mind remove the unknown status of that dir.)
Well, at this moment my repository is inconsistent.
Reproducing that, in our testeBug dir, here is the error when I check the state:
rego@linovski- laptop: /tmp/testeBug$ bzr st AssertionError: Could not find target parent in wt: a 02249-n1ehf2xr9 tb4c3ek- 2'), [('f', '', 0L, 0, 'xxxxxxxxxxxxxx xxxxxxxxxxxxxxx xxx'), ('f', 'da39a3ee5e6b4b 0d3255bfef95601 890afd80709' , 0L, 0, '<email address hidden>')])
bzr: ERROR: exceptions.
parent of: (('a', 'file', 'file-200811241
Traceback (most recent call last): python2. 5/site- packages/ bzrlib/ commands. py", line 834, in run_bzr_ catch_errors python2. 5/site- packages/ bzrlib/ commands. py", line 790, in run_bzr python2. 5/site- packages/ bzrlib/ commands. py", line 492, in run_argv_aliases **all_cmd_ args) python2. 5/site- packages/ bzrlib/ commands. py", line 800, in ignore_pipe python2. 5/site- packages/ bzrlib/ builtins. py", line 189, in run file=self. outf, short=short, versioned= versioned) python2. 5/site- packages/ bzrlib/ status. py", line 114, in show_tree_status unversioned= want_unversione d) python2. 5/site- packages/ bzrlib/ tree.py" , line 93, in changes_from unversioned= want_unversione d, python2. 5/site- packages/ bzrlib/ decorators. py", line 127, in read_locked python2. 5/site- packages/ bzrlib/ tree.py" , line 727, in compare unversioned= want_unversione d) python2. 5/site- packages/ bzrlib/ delta.py" , line 217, in _compare_trees unversioned= want_unversione d): python2. 5/site- packages/ bzrlib/ workingtree_ 4.py", line 2370, in iter_changes entry(current_ entry, current_path_info) python2. 5/site- packages/ bzrlib/ workingtree_ 4.py", line 2076, in _process_entry 02249-n1ehf2xr9 tb4c3ek- 2'), [('f', '', 0L, 0, 'xxxxxxxxxxxxxx xxxxxxxxxxxxxxx xxx'), ('f', 'da39a3ee5e6b4b 0d3255bfef95601 890afd80709' , 0L, 0, '<email address hidden>')])
File "/usr/lib/
return run_bzr(argv)
File "/usr/lib/
ret = run(*run_argv)
File "/usr/lib/
return self.run(
File "/usr/lib/
result = func(*args, **kwargs)
File "/usr/lib/
to_
File "/usr/lib/
want_
File "/usr/lib/
want_
File "/usr/lib/
return unbound(self, *args, **kwargs)
File "/usr/lib/
want_
File "/usr/lib/
want_
File "/usr/lib/
result = _process_
File "/usr/lib/
% (new_dirname, entry))
AssertionError: Could not find target parent in wt: a
parent of: (('a', 'file', 'file-200811241
bzr 1.3.1 on python 2.5.2.final.0 (linux2) python2. 5/site- packages/ bzrlib/ plugins/ launchpad [unknown] /bugs.launchpad .net/bzr/ +filebug laptop: /tmp/testeBug$
arguments: ['/usr/bin/bzr', 'st']
encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'en_US.UTF-8'
plugins:
launchpad /usr/lib/
*** 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.
rego@linovski-