Comment 13 for bug 395556

Revision history for this message
Martitza (martitzam) wrote : Re: bzr mv (rename in place) can corrupt dirstate with specific ordering

It appears this may go even a little deeper! There is trouble even with no commit. Try this:

bzr init t1
cd t1
bzr check -q
touch 2
bzr add 2
bzr check -q
bzr mv 2 1
bzr check -q
ERROR: exceptions.AssertionError: entry (('', '2', '2-20090715011843-wl2n6j4yjvs4slgu-1'), [('r', '1', 0L, 0, '')]) has no data for any tree.

The specific ordering (demotion) is still required to trigger the defect.