diff -r ce96be208ea4 -r c21aca51b392 hgext/uncommit.py --- 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: