diff -r 2e017696181f -r 0b7733719d21 mercurial/debugcommands.py --- a/mercurial/debugcommands.py Wed Nov 13 21:52:25 2019 -0500 +++ b/mercurial/debugcommands.py Thu Nov 14 08:03:26 2019 -0800 @@ -59,6 +59,7 @@ merge as mergemod, obsolete, obsutil, + pathutil, phases, policy, pvec, @@ -1343,7 +1344,7 @@ ignored = nf ignoredata = repo.dirstate._ignorefileandline(nf) else: - for p in util.finddirs(nf): + for p in pathutil.finddirs(nf): if ignore(p): ignored = p ignoredata = repo.dirstate._ignorefileandline(p)