Please review
    #558 hg pdiffs should allow file specification, take the same args
         as hg diff

Webrev:

    http://cr.opensolaris.org/~richlowe/scm_558

This allows 'hg pdiffs' to take the same arguments as 'hg diff', to
include file specification.

The exception to this is -p, which we use throughout to specify an
alternative parent workspace, and 'hg diff' (as gdiff), uses to
specify that function names should be output in hunk headers.

I was (and still am) unsure of whether to provide that as -P, whether
to make -p do that (and -P parent) in only the hg pdiffs case, or
something else entirely.

This webrev just avoids -p entirely, leaving its prior behaviour.

The help text and defaults used on the additional arguments to pdiffs
are directly from 'hg diff', for the sake of consistency.  I'm not
entirely certain that is appropriate, comment is solicited.

Thanks,

-- Rich

Reply via email to