[PATCH] revert: simplify help message, better error message on reverting a merge

Matt Mackall mpm at selenic.com
Sat Jun 4 18:48:03 CDT 2011


On Sat, 2011-06-04 at 22:45 +0200, rupert THURNER wrote:
> it is important that software is telling me what i am _not_ looking for ????

Yes, if you are among the 60% of new users who assume that revert is how
you're supposed to check out an old version. Of the remaining 40%, at
least half of those also try to use revert for some other misguided
purpose that another command is more appropriate for, or which is simply
not doable.

So given a) people have a strong predisposition to try to misuse a
command named 'revert' and b) that explaining what revert actually does
to new users is HARD and c) there's not many reasons for a new user to
use revert, a warning right up front like we have is quite appropriate.

Feel free to rephrase it, but the first sentence MUST be a warning.

-- 
Mathematics is the supreme nostalgia of our time.




More information about the Mercurial-devel mailing list