[darcs-devel] removing darcs rollback --record?

Guillaume Hoffmann guillaumh at gmail.com
Tue Jun 19 20:27:39 UTC 2012


> 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...

> 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.

As rollback --record is a quite power-user and seldom used command, I
think the code simplification is worth it.

g.


More information about the darcs-devel mailing list