Undo a commit?

Hans Meine meine at informatik.uni-hamburg.de
Wed Jul 15 09:45:45 CDT 2009


On Wednesday 15 July 2009 15:47:01 Greg Ward wrote:
> (OK, maybe you have a point about revert and update -C.  I *think*
> that "revert" == "update -C .".  I'm not sure what the difference is
> between "revert -r REV" == "update -C REV" is: perhaps "revert -r"
> leaves the parent of the working copy alone?)

Yes.  In a sense, "hg revert -r" may be closer related to "hg cat" than to "hg 
revert" without -r.

HTH,
 Hans


More information about the Mercurial mailing list