changeset 42104 | 4b86f4f199a9 |
parent 42039 | cab19d49f8bd |
child 42262 | a0c5e06e9b1a |
--- a/mercurial/revset.py Thu Apr 11 18:10:07 2019 +0200 +++ b/mercurial/revset.py Fri Apr 05 14:30:52 2019 -0400 @@ -598,6 +598,12 @@ return subset & bundlerevs def checkstatus(repo, subset, pat, field): + """Helper for status-related revsets (adds, removes, modifies). + The field parameter says which kind is desired: + 0: modified + 1: added + 2: removed + """ hasset = matchmod.patkind(pat) == 'set' mcache = [None]