revsets branch with regex

Simon King simon at simonking.org.uk
Tue Oct 2 12:04:34 CDT 2012


On Tue, Oct 2, 2012 at 5:37 PM, Ahmed Khalaf <me at ahmedkhalaf.com> wrote:
> Hi
>
> I'm trying to user Hg revsets to update an Hg repo with the following
> command
>
> hg update --rev branch("re:DEV.+")
>
> supposed to match DEV.+ as regex and get the branch(es) matching it the
> update to the tipmost, however I never got branches working with revset
> regex !
>
> Regards,
> Ahmed Khalaf
>

What version of mercurial are you using? Regular expression support
for branch() was only added in 2.3.

Simon


More information about the Mercurial-devel mailing list