##// END OF EJS Templates
patchbomb: respect diff settings
Martin Geisler -
r7685:161412a3 default
parent child Browse files
Show More
@@ -63,7 +63,7 b' That should be all. Now your patchbomb i'
63 63 import os, errno, socket, tempfile, cStringIO
64 64 import email.MIMEMultipart, email.MIMEBase
65 65 import email.Utils, email.Encoders, email.Generator
66 from mercurial import cmdutil, commands, hg, mail, mdiff, patch, util
66 from mercurial import cmdutil, commands, hg, mail, patch, util
67 67 from mercurial.i18n import _
68 68 from mercurial.node import bin
69 69
@@ -225,7 +225,7 b' def patchbomb(ui, repo, *revs, **opts):'
225 225 for r in cmdutil.revrange(repo, revs):
226 226 output = cStringIO.StringIO()
227 227 p = patch.export(repo, [r], fp=output,
228 opts=mdiff.diffopts(git=opts.get('git')))
228 opts=patch.diffopts(ui, opts))
229 229 yield output.getvalue().split('\n')
230 230
231 231 def getbundle(dest):
General Comments 0
You need to be logged in to leave comments. Login now