I accidentally reverted all my changes with bzr revert before committing. Are all my changes lost or can I undo the revert somehow?
I haven't lost many changes, but I'd enjoy to know if there is a safety net against this. Google does not help with "undo bzr revert".
Ok, apparently bazaar leaves a file with appended ".~1~" to reverted files, so in order to recover the changes it's simply a cp of this file onto the reverted one.