[PATCH] outgoing: support revsets

Matt Mackall mpm at selenic.com
Thu Jul 22 11:22:31 CDT 2010


On Thu, 2010-07-22 at 19:17 +0300, timeless wrote:
> so, i wanted to do:
> hg out -r 'qbase:qtip' -pv

Note that you can do this right now with:

hg log -pvr 'outgoing() and qbase:'

> -    revs, checkout = hg.addbranchrevs(repo, repo, branches, opts.get('rev'))
> +    revs, checkout = hg.addbranchrevs(repo, repo, branches,
> cmdutil.revrange(repo, opts.get('rev')))

Not sure about this. Mostly because I want such queries to be supported
everywhere that -r is accepted. That's a lot of places - I think we need
something more general.

-- 
Mathematics is the supreme nostalgia of our time.




More information about the Mercurial-devel mailing list