hg revert confusion
Matt Mackall
mpm at selenic.com
Tue Jul 12 19:35:46 UTC 2005
On Tue, Jul 12, 2005 at 11:17:19AM -0700, George Garvey wrote:
> Introduced a bug in project under hg. The only way I could find to
> check out old versions was hg clone; followed by hg revert.
You want hg update <revision>.
> It appears that hg revert silently changes the working copy with
> each invocation with a differ rev as option.
You command, it obeys.
> But: I never could find a way to tell which rev the working copy
> was, by using hg itself. I just had to know.
hg parents.
--
Mathematics is the supreme nostalgia of our time.
More information about the Mercurial
mailing list