[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Mingw-cross-env-list] [Off Topic] A questio about HG
From: |
Tony Theodore |
Subject: |
Re: [Mingw-cross-env-list] [Off Topic] A questio about HG |
Date: |
Fri, 8 Oct 2010 02:26:25 +1100 |
On 7 October 2010 23:28, DiAppoggio <address@hidden> wrote:
> Which hg command should I use to revert back to a specific revision?
You can do it a few ways:
Revert a file-
hg revert -r<revision> <path/to/file>
Revert all files-
hg revert - r<revision> -a
Revert all files-
hg update -r<revision>
hg help is always useful, and this is a handy reference for a more
detailed discussion:
http://hgbook.red-bean.com/
Cheers,
Tony