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

Miles Gould miles at assyrian.org.uk
Mon Apr 4 10:40:43 UTC 2011


On Mon, Apr 04, 2011 at 12:19:26AM +0200, Radoslav Dorcik wrote:
> darcs revert can create .bak<n> files as a last resort for recovery of
> mistake.

Oh God, please no. If I see ".bak" files littering a directory I think
"the previous coder did not use version control, and is therefore
probably an idiot". For a VCS to create .bak files is... in poor taste.

On the matter of usability, speaking as someone who doesn't use darcs
all that much these days:

1) I don't think I've ever used "darcs unrevert".
2) I do, on the other hand, use "git stash" A LOT. It was one of the
features that caused my last team to adopt git. If it had been clear to
me that revert/unrevert could be used to implement "darcs stash", I'd
probably have used them for that purpose.
3) darcs' proliferation of undo commands is confusing to newbies.
Speaking of which, I note that unrevert gets only a cursory mention on
http://en.wikibooks.org/wiki/Understanding_Darcs/Undoing_mistakes
4) My least favourite thing about darcs is its chattiness. Removing
a "do you want to do this?" prompt is IMHO a win.

So I'd vote for removing unrevert as-is and providing a stash command
instead.

Miles

-- 
The unexamined life is not worth living.
  -- Socrates


More information about the darcs-users mailing list