mercurial/pathutil.py
changeset 47541 a9f38b144096
parent 46646 5d483e3bb60e
child 47944 e02f9af7aed1
--- a/mercurial/pathutil.py	Mon Jul 05 03:57:11 2021 +0200
+++ b/mercurial/pathutil.py	Mon Jul 05 03:57:40 2021 +0200
@@ -323,7 +323,7 @@
         addpath = self.addpath
         if isinstance(map, dict) and skip is not None:
             for f, s in pycompat.iteritems(map):
-                if s[0] != skip:
+                if s.state != skip:
                     addpath(f)
         elif skip is not None:
             raise error.ProgrammingError(