# HG changeset patch # User Augie Fackler # Date 1479780352 18000 # Node ID 0ae83ede68c590c94f8aa466a851cbb085860142 # Parent 751639bf6fc4e78cbc579c9d64d80ef4f35769cc mq: refer to dirstateguard by its new name diff -r 751639bf6fc4 -r 0ae83ede68c5 hgext/mq.py --- 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: