Full files in changesets?
Aaron Bentley
aaron.bentley at utoronto.ca
Sun May 29 05:26:38 BST 2005
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
David Allouche wrote:
> On Mon, 2005-05-23 at 15:14 -0400, Aaron Bentley wrote:
>
>>>Well, what would be nice is if you had a "bzr resurrect" that would
>>>bring it back with the *same* id.
>>
>>Okay, that's nice too, and should be easy as part of a larger 'undo'
>>command.
>
> The command to do that should be generic enough to resurrect the file
> from to past revisions.
>
> "How do I restore a file that I removed by mistake" is moderately
> frequent question. It would make the answer much simpler if the solution
> was the same whether or not a commit occurred since the file was
> deleted.
Yes. We can just extend the 'revert' command so that you can specify
particular files. So:
bzr revert # revert all files to last commit
bzr revert -r 50 # revert all files to their state at revision 50
bzr revert -r 50 foo # revert 'foo' to its state at revision 50.
> But such a constraint may not be compatible with a non-surprising "undo"
> command.
What do you think about that solution?
Aaron
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFCmUR+0F+nu1YWqI0RArmFAJ9vfE8xS3VKNj13PlQzv9B5LSRDbwCfRcvz
+9rLG+PVTVxBE6sDafgfnis=
=PxRL
-----END PGP SIGNATURE-----
More information about the bazaar
mailing list