bzr revert deletes added files

Bjorn Tillenius bjorn.tillenius at gmail.com
Sun Aug 28 19:19:38 BST 2005


Hi,

I accidentally added a file to my bzr archive. To "un-add" it I used
bzr revert, which seemed to work. But then I discovered that the file
was not only deleted from the archive, but also from the file system:

    bettan:/extra/proj/grammatista> bzr add foo
    added foo
    bettan:/extra/proj/grammatista> bzr revert foo
    bettan:/extra/proj/grammatista> ls foo
    ls: foo: No such file or directory
    bettan:/extra/proj/grammatista>

Which was not what I expected. Is there any way of getting the files
back?

Regards,

Bjorn




More information about the bazaar mailing list