Mercurial > hg > mercurial-source
diff hgext/mq.py @ 31268:0ae83ede68c5
mq: refer to dirstateguard by its new name
author | Augie Fackler <augie@google.com> |
---|---|
date | Mon, 21 Nov 2016 21:05:52 -0500 (2016-11-22) |
parents | acd30a959980 |
children | 20a42325fdef |
line wrap: on
line diff
--- a/hgext/mq.py +++ b/hgext/mq.py @@ -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: