Force hg revert to delete instead of reverting

Henri Wiechers hwiechers at gmail.com
Sun May 3 14:26:33 CDT 2009


Thanks!
hg update was what I needed.

On Sun, May 3, 2009 at 8:45 PM, Steve Borho <steve at borho.org> wrote:
> 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