--- a/hgext/patchbomb.py Thu Apr 12 22:39:43 2018 +0900
+++ b/hgext/patchbomb.py Thu Apr 12 22:59:49 2018 +0900
@@ -306,8 +306,8 @@
ui.warn(_('warning: working directory has '
'uncommitted changes\n'))
output = stringio()
- cmdutil.export(repo, [r], fp=output,
- opts=patch.difffeatureopts(ui, opts, git=True))
+ cmdutil.exportfile(repo, [r], output,
+ opts=patch.difffeatureopts(ui, opts, git=True))
yield output.getvalue().split('\n')
def _getbundle(repo, dest, **opts):
"""return a bundle containing changesets missing in "dest"