hgext/rebase.py
changeset 33151 0a370b93cca2
parent 33146 40ee74bfa111
child 33163 5d29c55414b3
--- a/hgext/rebase.py	Tue Jun 27 01:31:18 2017 +0200
+++ b/hgext/rebase.py	Tue Jun 27 01:36:20 2017 +0200
@@ -40,6 +40,7 @@
     merge as mergemod,
     mergeutil,
     obsolete,
+    obsutil,
     patch,
     phases,
     registrar,
@@ -1454,7 +1455,7 @@
     cl = repo.changelog
     for r in rebaseobsrevs:
         node = cl.node(r)
-        for s in obsolete.allsuccessors(repo.obsstore, [node]):
+        for s in obsutil.allsuccessors(repo.obsstore, [node]):
             try:
                 allsuccessors[cl.rev(s)] = cl.rev(node)
             except LookupError: