"bzr mv --auto" generates inconsistent delta when auto detecting files moved to unversioned directories
Bug #370551 reported by
Jonny Dee
This bug report is a duplicate of:
Bug #373319: mv --auto does not handle directory adds mixed with the contents of a directory splitting in two: InconsistentDelta error.
Edit
Remove
This bug affects 4 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Confirmed
|
Medium
|
Unassigned | ||
Bug Description
bzr init trunk
cd trunk
echo Hello World! > test.txt
bzr add
bzr ci -m "Import."
mkdir new-dir
mv test.txt new-dir/file.xml
bzr mv --auto
outputs:
Created a standalone tree (format: pack-0.92)
adding test.txt
Committing to: /tmp/trunk/
added test.txt
Committed revision 1.
=> new-dir
test.txt => new-dir/file.xml
bzr: ERROR: An inconsistent delta was supplied involving u'', 'TREE_ROOT'
reason: This parent is not present.
tags: | added: 1.14 |
summary: |
- "bzr mv --auto" fails with "bzr: ERROR: exceptions.IndexError: list - index out of range" + "bzr mv --auto" provokes traceback when auto detecting files that were + moved to unversioned directories |
summary: |
- "bzr mv --auto" provokes traceback when auto detecting files that were + "bzr mv --auto" generates inconsistent delta when auto detecting files moved to unversioned directories |
tags: | removed: 1.14 |
tags: | added: mv |
description: | updated |
summary: |
- "bzr mv --auto" generates inconsistent delta when auto detecting files + "bzr mv --auto" reports inconsistent delta when auto detecting files moved to unversioned directories |
summary: |
- "bzr mv --auto" reports inconsistent delta when auto detecting files + "bzr mv --auto" generates inconsistent delta when auto detecting files moved to unversioned directories |
To post a comment you must log in.
Happens in bzr.dev too, tail end of traceback:
File "/home/ larstiq/ src/bzr/ bzr.dev/ bzrlib/ builtins. py", line 311, in run pending= (not no_pending), verbose=verbose) larstiq/ src/bzr/ bzr.dev/ bzrlib/ status. py", line 118, in show_tree_status unversioned= want_unversione d) larstiq/ src/bzr/ bzr.dev/ bzrlib/ tree.py" , line 97, in changes_from unversioned= want_unversione d, larstiq/ src/bzr/ bzr.dev/ bzrlib/ decorators. py", line 138, in read_locked larstiq/ src/bzr/ bzr.dev/ bzrlib/ tree.py" , line 876, in compare unversioned= want_unversione d) larstiq/ src/bzr/ bzr.dev/ bzrlib/ delta.py" , line 230, in _compare_trees unversioned= want_unversione d): helpers_ c.pyx", line 1350, in _dirstate_ helpers_ c.ProcessEntryC .__next_ _ helpers_ c.pyx", line 1475, in _dirstate_ helpers_ c.ProcessEntryC ._iter_ next
show_
File "/home/
want_
File "/home/
want_
File "/home/
result = unbound(self, *args, **kwargs)
File "/home/
want_
File "/home/
want_
File "_dirstate_
File "_dirstate_
IndexError: list index out of range