revsets branch with regex

Ahmed Khalaf me at ahmedkhalaf.com
Tue Oct 2 12:52:29 CDT 2012


Thanks Matt, Works perfectly !

I tried several quoting combinations with no luck,but this one is OK :)


On Tue, Oct 2, 2012 at 7:44 PM, Matt Mackall <mpm at selenic.com> wrote:

> On Tue, 2012-10-02 at 18:37 +0200, Ahmed Khalaf wrote:
> > Hi
> >
> > I'm trying to user Hg revsets to update an Hg repo with the following
> > command
> >
> > hg update --rev branch("re:DEV.+")
>
> Unlikely to work without proper shell quoting. This variant should work
> on Windows and Unix:
>
>  hg up -r "branch('re:DEV.+')"
>
> And, of course, you can always test your revset with log.
>
> --
> Mathematics is the supreme nostalgia of our time.
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://selenic.com/pipermail/mercurial-devel/attachments/20121002/db9b3181/attachment.html>


More information about the Mercurial-devel mailing list