commit: Fix specifier inheritance behavior

Michael Sperber sperber at deinprogramm.de
Wed Mar 5 05:07:02 EST 2008


"Stephen J. Turnbull" <stephen at xemacs.org> writes:

> (1) I don't want to see merge turds.  The commit bot should be diffing
> against the parent of the commit, not against the previous revision.
> They're typically different in the case of merges.

I guess I still don't understand what you're trying to accomplish: A
merge commit has *two* parents.

We could get the output of the other parent for a merge revision REV
like this:

hg diff -r`hg log -rREV --template '{parents}\n' | cut -d ' ' -f 2 | cut -d : -f 2` -rREV

Is this what you want?

-- 
Cheers =8-} Mike
Friede, Völkerverständigung und überhaupt blabla



More information about the XEmacs-Patches mailing list