Force hg revert to delete instead of reverting
Steve Borho
steve at borho.org
Sun May 3 13:45:01 CDT 2009
On Sun, May 3, 2009 at 11:44 AM, Henri Wiechers <hwiechers at gmail.com> wrote:
> I'm using mercurial 1.2.1 on Windows.
>
> Sometimes I revert back to an revision (say x) to check some stuff and
> then revert back to the tip.
> I've noticed that when reverting back to tip that revert doesn't
> delete files removed between x
> and tip, instead it forgets them. Is there anyway to get revert to
> delete them instead? I couldn't find a
> switch for this.
I suspect you want to be using the update command to checkout older
revisions. hg revert is only used to backout changes.
--
Steve Borho
More information about the Mercurial
mailing list