diff -r 572f36e9a780 -r c8e2d6ed1f9e hgext/mq.py --- 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