hgext/mq.py
changeset 35928 c8e2d6ed1f9e
parent 35884 522f868680ca
child 35956 d41e41d11574
--- a/hgext/mq.py	Sun Jan 21 12:48:39 2018 +0900
+++ b/hgext/mq.py	Sun Jan 21 13:03:03 2018 +0900
@@ -86,6 +86,7 @@
     hg,
     localrepo,
     lock as lockmod,
+    logcmdutil,
     patch as patchmod,
     phases,
     pycompat,
@@ -743,8 +744,8 @@
             opts = {}
         stat = opts.get('stat')
         m = scmutil.match(repo[node1], files, opts)
-        cmdutil.diffordiffstat(self.ui, repo, diffopts, node1, node2,  m,
-                               changes, stat, fp)
+        logcmdutil.diffordiffstat(self.ui, repo, diffopts, node1, node2, m,
+                                  changes, stat, fp)
 
     def mergeone(self, repo, mergeq, head, patch, rev, diffopts):
         # first try just applying the patch