[darcs-users] [darcs #473] A suggestion for the "unpull" command

Tommy Pettersson ptp at lysator.liu.se
Tue Aug 2 13:33:04 UTC 2005


On Tue, Aug 02, 2005 at 01:30:49PM +0800, LEE, Chun Kin wrote:
> Yuval Kogman wrote:
> 
> By the way, I do not really understand why we need "drop" or
> "obliterate", since "unrecord" and "revert" can do the job well.

There's a difference when there are unrecorded changes.
'unpull' will try to commute the undoing past the unrecorded
changes, leaving them intact, and fail with an error if it's
impossible.  'unrecord' will, without warning, merge the
new unrecorded changes with the current ones, and in case
of a conflict (where 'unpull' would have failed) they melt
together and can not be reverted independently.


-- 
Tommy Pettersson <ptp at lysator.liu.se>




More information about the darcs-users mailing list