Revert implmentation and how to undo a bzr remove
Benno
benjl at cse.unsw.edu.au
Wed Apr 27 11:24:03 BST 2005
On Wed Apr 27, 2005 at 19:52:35 +1000, Aaron Bentley wrote:
>Martin Pool wrote:
>> On Wed, 2005-04-27 at 19:21 +1000, Benno wrote:
>>
>>
>>>Right. The next question is how to get back the old id. And importantly
>>>how to distinguish between the case:
>
>> I was wondering about 'bzr resurrect FILE' which brings it back with the
>> same content and ID it had when it last existed, even if that was more
>> than one revision ago. Perhaps this is too specialized to deserve a
>> command of its own but I think it's a moderately common operation.
>
>I should mention that the merge code can do revert (or switch, update,
>etc). It can be restricted to operate only on particular files.
In your opinion is it better piggy backing on that (which I could understand
to actually be quite complicated), or use a simple implementation to just
do revert, which is actually quite simple, since you don't need to handle
any actual merging.
I'm in no way tied to the revert patch I wrote, and would be happy to just
hook it up to the merge stuff if that is best.
Benno
More information about the bazaar
mailing list