On 8/2/05, Tommy Pettersson <[EMAIL PROTECTED]> wrote: > On Tue, Aug 02, 2005 at 01:30:49PM +0800, LEE, Chun Kin 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.
True, but as David Roundy said earlier: You never actually need to unpull, since unrecord followed by revert is identical when there are no local changes. If there are local changes, then record -a, unrecord, revert -a, unrecord would have same effect as unpull. And this is what I'd want a newbie to do--if they work in this manner, they are unlikely to accidentally lose their changes. _______________________________________________ darcs-users mailing list [email protected] http://www.abridgegame.org/mailman/listinfo/darcs-users
