Bazaar completely lost files by "revert"

Martin Packman martin.packman at
Fri Feb 24 15:44:43 UTC 2012

On 24/02/2012, Artur Rataj <arturrataj at> wrote:
> $ bzr revert -r -2
> ...
> Excuse me, I am really sorrow, these files contained code that is very
> valuable for me... Is there *any* way of recovering these files?

As you've no doubt discovered by now, you can change the state of the
other files in tree back to the latest revision after that just with:

$ bzr revert

The branch still contains all the information, backup files are only
created when there are local changes not present in the current

As an aside, you'll generally get more patient responses from your
fellow mailing list participants if you adopt a softer tone when
asking for assistance.


More information about the bazaar mailing list