Mercurial > hg
changeset 47541:a9f38b144096
dirstate-item: use the properties in pathutil
Differential Revision: https://phab.mercurial-scm.org/D10985
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Mon, 05 Jul 2021 03:57:40 +0200 |
parents | 1a6302427eb9 |
children | b8013cb71ef3 |
files | mercurial/pathutil.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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(