revsets branch with regex
Matt Mackall
mpm at selenic.com
Tue Oct 2 12:44:11 CDT 2012
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.
More information about the Mercurial-devel
mailing list