Giving mq.strip a -r option

Tatham Oddie tatham at
Tue Sep 20 18:06:00 CDT 2011

This has caught me a few times. It's easy to forget considering how rarely you generally use strip.

> hg strip -r 123
hg strip: option -r not recognized

As a user, I'd suggest the syntactic sugar would be nice however I don't think you'd need mention it in the help text.

-- Tatham

-----Original Message-----
From: mercurial-devel-bounces at [mailto:mercurial-devel-bounces at] On Behalf Of Jordi Gutiérrez Hermoso
Sent: Wednesday, 21 September 2011 7:19 AM
To: mercurial-devel at
Subject: Giving mq.strip a -r option

Consider the attached patch for giving strip an -r option.

- Jordi G. H.

More information about the Mercurial-devel mailing list