[Commented On] D10985: dirstate-item: use the properties in pathutil
baymax (Baymax, Your Personal Patch-care Companion)
phabricator at mercurial-scm.org
Tue Jul 6 17:35:39 UTC 2021
baymax added a comment.
baymax updated this revision to Diff 28840.
✅ refresh by Heptapod after a successful CI run (🐙 💚)
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D10985?vs=28806&id=28840
BRANCH
default
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
Cc: mercurial-patches
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial-patches/attachments/20210706/48783631/attachment-0002.html>
More information about the Mercurial-patches
mailing list