hgext/mq.py
changeset 10611 e764f24a45ee
parent 10591 ff2704a8ded3
child 10661 c4859aad1980
--- a/hgext/mq.py	Mon Mar 08 11:12:48 2010 -0600
+++ b/hgext/mq.py	Mon Mar 08 19:43:24 2010 +0100
@@ -1681,7 +1681,7 @@
                 self.full_series.insert(0, patchname)
 
                 patchf = self.opener(patchname, "w")
-                patch.export(repo, [n], fp=patchf, opts=diffopts)
+                cmdutil.export(repo, [n], fp=patchf, opts=diffopts)
                 patchf.close()
 
                 se = statusentry(hex(n), patchname)