changeset 30489:0ae83ede68c5

mq: refer to dirstateguard by its new name
author Augie Fackler <augie@google.com>
date Mon, 21 Nov 2016 21:05:52 -0500
parents 751639bf6fc4
children ee2097c560c1
files hgext/mq.py
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/hgext/mq.py	Mon Nov 21 21:29:32 2016 -0500
+++ b/hgext/mq.py	Mon Nov 21 21:05:52 2016 -0500
@@ -79,6 +79,7 @@
 from mercurial import (
     cmdutil,
     commands,
+    dirstateguard,
     error,
     extensions,
     hg,
@@ -1724,7 +1725,7 @@
 
             dsguard = None
             try:
-                dsguard = cmdutil.dirstateguard(repo, 'mq.refresh')
+                dsguard = dirstateguard.dirstateguard(repo, 'mq.refresh')
                 if diffopts.git or diffopts.upgrade:
                     copies = {}
                     for dst in a: