[darcs-users] rollback should apply inverse patch to current as well.

Adam Megacz adam at megacz.com
Sat May 8 03:15:24 UTC 2004


David Brown <darcs at davidb.org> writes:
>> This makes sense for unrecord, since you're deleting the patch.
>> However, in the case of rollback, you're actually *applying* a patch
>> (the inverse).

> I think the intent of rollback is the same as unrecord, except for
> changes that have been push/pulled somewhere else.  If the rollback
> applied the patches to the current working directory, these changes
> would be lost.

No; they're still in the repository.  'rollback' never removes
anything from the repository; it just adds the inverse.

  - a




More information about the darcs-users mailing list