contrib/phabricator.py
changeset 33735 e6d8ee3c9ec3
parent 33692 f100354cce52
child 33785 f7d6978a4da9
--- a/contrib/phabricator.py	Wed Aug 02 19:48:06 2017 +0200
+++ b/contrib/phabricator.py	Wed Aug 02 19:49:57 2017 +0200
@@ -41,7 +41,7 @@
     encoding,
     error,
     mdiff,
-    obsolete,
+    obsutil,
     patch,
     registrar,
     scmutil,
@@ -167,7 +167,7 @@
     for node in nodelist:
         ctx = unfi[node]
         # For tags like "D123", put them into "toconfirm" to verify later
-        precnodes = list(obsolete.allprecursors(unfi.obsstore, [node]))
+        precnodes = list(obsutil.allpredecessors(unfi.obsstore, [node]))
         for n in precnodes:
             if n in nodemap:
                 for tag in unfi.nodetags(n):