[Updated] D10985: dirstate-item: use the properties in pathutil
marmoute (Pierre-Yves David)
phabricator at mercurial-scm.org
Thu Jul 8 09:01:41 UTC 2021
Closed by commit rHGa9f38b144096: dirstate-item: use the properties in pathutil (authored by marmoute).
This revision was automatically updated to reflect the committed changes.
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D10985?vs=28840&id=28966
CHANGES SINCE LAST ACTION
https://phab.mercurial-scm.org/D10985/new/
REVISION DETAIL
https://phab.mercurial-scm.org/D10985
AFFECTED FILES
mercurial/pathutil.py
CHANGE DETAILS
diff --git a/mercurial/pathutil.py b/mercurial/pathutil.py
--- a/mercurial/pathutil.py
+++ b/mercurial/pathutil.py
@@ -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(
To: marmoute, #hg-reviewers, SimonSapin, pulkit
Cc: mercurial-patches
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial-patches/attachments/20210708/e8233595/attachment-0002.html>
More information about the Mercurial-patches
mailing list