hgext/uncommit.py
changeset 43523 c21aca51b392
parent 43117 8ff1ecfadcd1
child 43643 d0310f21ee9e
--- a/hgext/uncommit.py	Wed Oct 23 12:15:42 2019 -0700
+++ b/hgext/uncommit.py	Wed Nov 06 14:13:19 2019 +0100
@@ -29,11 +29,11 @@
     error,
     node,
     obsutil,
+    pathutil,
     pycompat,
     registrar,
     rewriteutil,
     scmutil,
-    util,
 )
 
 cmdtable = {}
@@ -185,7 +185,7 @@
             # if not everything tracked in that directory can be
             # uncommitted.
             if badfiles:
-                badfiles -= {f for f in util.dirs(eligible)}
+                badfiles -= {f for f in pathutil.dirs(eligible)}
 
             for f in sorted(badfiles):
                 if f in s.clean: