patchbomb: respect diff.git setting
mg at daimi.au.dk
Sat Jan 24 11:29:01 CST 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.
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
Size: 196 bytes
Desc: not available
Url : http://selenic.com/pipermail/mercurial-devel/attachments/20090124/c2f7e28a/attachment.pgp
More information about the Mercurial-devel