hgext/transplant.py
changeset 42536 5f2f6912c9e6
parent 41687 0531dff73d0b
child 42537 dc3fdd1b5af4
--- a/hgext/transplant.py	Mon Jun 24 16:01:22 2019 -0700
+++ b/hgext/transplant.py	Sat Jun 08 23:43:53 2019 +0530
@@ -35,6 +35,7 @@
     revset,
     scmutil,
     smartset,
+    state as statemod,
     util,
     vfs as vfsmod,
 )
@@ -757,7 +758,7 @@
     return n and nodemod.hex(n) or ''
 
 def extsetup(ui):
-    cmdutil.unfinishedstates.append(
+    statemod.unfinishedstates.append(
         ['transplant/journal', True, False, _('transplant in progress'),
          _("use 'hg transplant --continue' or 'hg update' to abort")])