hgext/patchbomb.py
changeset 37603 678d760c71ff
parent 36668 e77cee5de1c7
child 38131 46c2b19a1263
--- 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"