On Wed, Mar 16, 2011 at 1:49 PM, "Martin v. Löwis" <mar...@v.loewis.de> wrote:
> I think I figured out how to generate a single patch for
> a clone that has all its changes on the default branch,
> comparing it with cpython's default branch. The command to generate
> the patch is
>
> hg diff -r'max(p1(min(outgoing())) or p2(max(merge() and branch(default))))'
> -r default
>
> If it's a branch different from default, replace 'default' in both places
> with the branch name.
>
> I'd be curious for people to try this out and report whether it works
> correctly. You'll need a Mercurial release supporting revsets.

I get "unknown revision" (listing the full expression text) when using
Mercurial 1.6.3 (default version in Ubuntu 10.10).

That version apparently supports revsets, but I'm not sure when the
runtime evaluation of the command line arguments was added.

Cheers,
Nick.

-- 
Nick Coghlan   |   ncogh...@gmail.com   |   Brisbane, Australia
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to