[darcs-devel] removing darcs rollback --record?
Ganesh Sittampalam
ganesh at earth.li
Thu Jun 21 05:30:49 UTC 2012
On 19/06/2012 21:27, Guillaume Hoffmann wrote:
>> I don't think using unrevert is equivalent, because you might already
>> have some stuff stored in the unrevert buffer.
>
> Of course it isn't equivalent. However I can't imagine someone
> purposely using revert as a stash command being surprised that the
> previous unrevert patch was wiped out...
Fair enough :-) I guess I'm generally uncomfortable with the idea of
using unrevert as a stash for anything, because it's state is quite
fragile.
>> Also, we should think
>> through what happens in each case in the case where the unrecorded
>> changes depend on the patch to be rolled back.
>
> If someone really wants to be careful to keep all information of their
> repository (working, unrevert), they can clone it with "darcs get" and
> do a rollback then a record in the new repository, then push the new
> patch. Tedious yes, but darcs currently embraces the 1 repo = 1 branch
> model, so this is what we are used to anyway.
True. There's also record, obliterate -O instead of unrevert.
Ganesh
More information about the darcs-devel
mailing list