bzr assumes I want to remove the file if I delete it from the filesystem

Mark Rosenstand mark at borkware.net
Fri Dec 9 15:26:54 GMT 2005


Bjorn Tillenius wrote:
> Hi,
> 
> I got surprised about how bzr worked, and I'm not sure it's a bug or
> not, I would say that it is, though.
> 
> If foo is a versioned filed, and I do 'rm foo; bzr commit'. Should bzr
> really remove the file from the repository then? It seems quite odd to
> me, especially since I temporarily removed a file from the file
> system, and forgot to 'bzr revert' it before I committed... What's
> the best way of restoring the file with all its history retained?

IIRC it doesn't matter if you commit or not, if you rm a file you can't
get it back easily. We had a talk about it in #bzr a while back. I
think we came to the conclusion that it was a bug, but I don't know if
it has been fixed since 0.6.

It would be nice to see another release soon (and more often in
general).




More information about the bazaar mailing list