[BUG] revert to specific revision for file in subdir does not work

Alexander Belchenko bialix at ukr.net
Sun Jan 22 21:13:33 GMT 2006


Revert does not work for file in subdir if specified -r flag. Error raised:

bzr: ERROR: dir/file.txt is not versioned

Reproduction of problem:

 > bzr init
 > bzr mkdir dir
 > cd dir
 > echo spam > file.txt
 > bzr add
 > bzr ci -m "r1"
 > echo eggs > file.txt
 > bzr st
modified:
   dir/file.txt
 > bzr revert file.txt -r1
bzr: ERROR: dir/file.txt is not versioned


Usual bzr revert works OK.

--
Alexander




More information about the bazaar mailing list