[Commented On] D10989: dirstate-item: use the `state` property in debugpathcomplete
baymax (Baymax, Your Personal Patch-care Companion)
phabricator at mercurial-scm.org
Tue Jul 6 17:36:24 UTC 2021
baymax added a comment.
baymax updated this revision to Diff 28844.
✅ refresh by Heptapod after a successful CI run (🐙 💚)
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D10989?vs=28810&id=28844
BRANCH
default
CHANGES SINCE LAST ACTION
https://phab.mercurial-scm.org/D10989/new/
REVISION DETAIL
https://phab.mercurial-scm.org/D10989
AFFECTED FILES
mercurial/debugcommands.py
CHANGE DETAILS
diff --git a/mercurial/debugcommands.py b/mercurial/debugcommands.py
--- a/mercurial/debugcommands.py
+++ b/mercurial/debugcommands.py
@@ -2614,7 +2614,7 @@
files, dirs = set(), set()
adddir, addfile = dirs.add, files.add
for f, st in pycompat.iteritems(dirstate):
- if f.startswith(spec) and st[0] in acceptable:
+ if f.startswith(spec) and st.state in acceptable:
if fixpaths:
f = f.replace(b'/', pycompat.ossep)
if fullpaths:
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/47671c7f/attachment-0002.html>
More information about the Mercurial-patches
mailing list