[BUG] bzr merge-revert fails to clean up working inventory
John A Meinel
john at arbash-meinel.com
Tue Jun 28 20:43:38 BST 2005
Try this:
mkdir test
cd test
bzr init
echo 'hello' > a
bzr add .
bzr commit -m 'adding a'
touch b
bzr add b
bzr status # Should show 'b' as added
bzr merge-revert
bzr status # Still says 'b' is added
bzr remove b # Fails because 'b' does not exist
touch b
bzr remove b
bzr status # b is now unknown
rm b
bzr status # All happy
The problem is that merge-revert does remove b, but it doesn't remove it
from the working inventory.
And 'bzr remove' doesn't handle the case where the file has already been
removed. Because 'find_branch_root' expects to have an existing file.
(Which has also been discussed, I think it should not, some people think
it should, but I could very easily be talking about where a file would
end up, and want to know what branch that is).
John
=:->
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 253 bytes
Desc: OpenPGP digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20050628/7fd4baf8/attachment.pgp
More information about the bazaar
mailing list