restore a file
Aaron Bentley
aaron.bentley at utoronto.ca
Fri Aug 26 15:50:14 BST 2005
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Jesper Olsen wrote:
> Thanks - I got a reply from Erik Bågfors also, but by accident the
> correspondence did
> not go via the list...
Oops. Clearly not enough coffee.
>> Thanks - I was not aware of that command.
>> It actually does work for me (bzr 0.6), but only if a file with that name
>> exists - ie. you
>> have to create it if it was deleted.
That's not how it's supposed to work. I've fixed it up in my branch,
and it seems to behave well.
>> I'm not sure if the backup filenaming convention is good - it's the same
>> that vim uses,
>> so vim will replace the backup next time that file is edited. But maybe
>> that's ok...
It's very much a stopgap, in case people accidentally revert something
they didn't mean to. I hope that we will soon switch to changesets, so
that reverts create a single file that can be easily un-reverted.
Aaron
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFDDywm0F+nu1YWqI0RAtj0AJoCWT41xCTLmb4uqxxTR+XR+cbJAACfTru2
aNUlTzH7m389BeJw3hDKIEA=
=vPXR
-----END PGP SIGNATURE-----
More information about the bazaar
mailing list