author | Pierre-Yves David <pierre-yves.david@octobus.net> |
Mon, 05 Jul 2021 03:57:40 +0200 | |
changeset 47541 | a9f38b144096 |
parent 47540 | 1a6302427eb9 |
child 47542 | b8013cb71ef3 |
--- 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(