[Python-Dev] hg diff
"Martin v. Löwis"
martin at v.loewis.de
Tue Mar 8 22:45:07 CET 2011
Am 08.03.2011 11:30, schrieb Stephen J. Turnbull:
> "Martin v. Löwis" writes:
>
> > > However, as Michael points out, you can have your tools generate the
> > > patch. For example, it shouldn't be too hard to add a dynamic patch
> > > generator to Roundup (although I haven't thought about the UI or the
> > > CPU burden).
>
> > For Mercurial, that's more difficult than you might expect. There is "hg
> > incoming -p", but it has the nasty problem that it may produce
> > multiple patches for a single file.
>
> Doesn't "hg diff -r 'ancestor(branch,default)::branch'", where "branch"
> is the unmerged branch you would like to inspect, do the right thing?
What would I specify as "branch" if all I have is
"http://bitbucket.com/turnbull/foo", and know that it must be the
default branch?
Regards,
Martin
More information about the Python-Dev
mailing list