[darcs-users] what about removing the unrevert command?

Gabriel Kerneis kerneis at pps.jussieu.fr
Mon Apr 4 12:59:46 UTC 2011


On Mon, Apr 04, 2011 at 02:38:05PM +0200, Guillaume Hoffmann wrote:
> So one question for you git users:  How is the darcs revert / pull /
> unrevert workflow better than just pulling and resolving conflicts in
> the working copy? (As a reminder, darcs enables people to pull with
> dirty working copy, while git does not.)

I do not use git stash (or darcs revert) to pull new patches.  I use it
to compare my latest published revision and my work-in-progress bug
fixing.  Or switch between branches/ideas coming to my mind during the
bug fixing process.

So one might argue that supporting multiple branches in a single darcs
repository would also do the trick (or use two repositories, one
"stable" and one "WIP").  Except it's more heavyweight and less
convenient to switch repositories (external logic rather than darcs
primitive concepts), which is the reason why I prefer stash/revert.

By the way, I love the fact that darcs revert allows selecting chunks,
and loathe the all-or-nothing aspect of git stash.

-- 
Gabriel


More information about the darcs-users mailing list