Revert, then commit, then revert again

Matt Mackall mpm at selenic.com
Tue Jan 8 19:40:09 UTC 2013


On Mon, 2013-01-07 at 12:37 -0600, Samuel Sumner wrote:
> So I was working on a project in C++ that we had source controlled in
> Mercurial. I eventually had made so many mistakes on the last revision,
> that I wasn't getting anywhere so I reverted:
> 
> hg update -r 23

Please note that in Mercurial jargon, 'revert' does NOT mean "update to
an earlier revision".  The revert command does something related but
significantly different.

-- 
Mathematics is the supreme nostalgia of our time.





More information about the Mercurial mailing list