Comment 3 for bug 430672

Revision history for this message
Matthew Fuller (fullermd) wrote :

This isn't actually 'renaming it back', it's another ordering issue. Naming to a lexically earlier name is what fails.

Example reproduction script (tested on bzr.dev and 1.18):

#!/bin/sh -x
bzr="/usr/local/bin/bzr --no-plugins --no-aliases"

${bzr} init A
(
 # Setup
 cd A ;
 ${bzr} mkdir a ;
 ${bzr} ci -m '1' ;

 # Add it
 ${bzr} mkdir a/b ;

 # Both work
 ${bzr} mv a/b a/c ;
 ${bzr} mv a/c a/d ;

 # This fails
 ${bzr} mv a/d a/a ;

 # Show that we lost it.
 ${bzr} stat
)