Deleting files?

Matt Nordhoff mnordhoff at mattnordhoff.com
Sat Jan 5 11:10:16 GMT 2008


Jari Aalto wrote:
> * Fri 2008-01-04 Mike Mellor <alaskamike at gmail.com>
> * Message-Id: E31412EB-B827-4711-B9F6-6DC96865A552 at gmail.com
>> Is it possible for me to delete a working file, ... but be able to
>> "undelete" it some time in
> 
> Sure. Use "bzr cat -r ...." to retrive any version of the file (when it
> existed).

If you do something like "bzr cat -r 123 foo.py >foo.py && bzr add
foo.py && bzr commit", it may have the same filename, but to bzr it
won't really be the same file. For restoring the file, use "bzr revert".

Of course, for just looking at it, "bzr cat" is great.
-- 



More information about the bazaar mailing list