patchbomb: respect diff.git setting
Martin Geisler
mg at daimi.au.dk
Sat Jan 24 17:29:01 UTC 2009
Bill Barry <after.fallout at gmail.com> writes:
> Martin Geisler wrote:
>> + usegit = opts.get('git') or ui.config('diff', 'git')
>> p = patch.export(repo, [r], fp=output,
>> - opts=mdiff.diffopts(git=opts.get('git')))
>> + opts=mdiff.diffopts(git=usegit))
> Why use mdiff.diffopts instead of patch.diffopts?
I don't know -- I hadn't looked at the diffopts before. But now I see
that patch.diffopts is a clever wrapper for mdiff.diffopts that does
what I want :-)
I guess I'll make a new patch which replaces the other mdiff.diffopts
calls to patch.diffopts calls.
--
Martin Geisler
VIFF (Virtual Ideal Functionality Framework) brings easy and efficient
SMPC (Secure Multiparty Computation) to Python. See: http://viff.dk/.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: <http://lists.mercurial-scm.org/pipermail/mercurial-devel/attachments/20090124/c2f7e28a/attachment.asc>
More information about the Mercurial-devel
mailing list