Mercurial > public > mercurial-scm > hg-stable
diff mercurial/debugcommands.py @ 38613:760cc5dc01e8
fileset: restrict getfileset() to not return a computed set (API)
And rename the functions accordingly. fileset.match() will be changed to
not compute the initial subset.
test-glog*.t get back to the state before 9f9ffe5f687c "match: compose
'set:' pattern as matcher."
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Sat, 09 Jun 2018 20:53:12 +0900 |
parents | 3d8ef60569d8 |
children | 93313f66b69b |
line wrap: on
line diff
--- a/mercurial/debugcommands.py Sat Jun 09 22:04:07 2018 +0900 +++ b/mercurial/debugcommands.py Sat Jun 09 20:53:12 2018 +0900 @@ -903,7 +903,7 @@ files.update(ctx.files()) files.update(ctx.substate) - m = scmutil.matchfiles(repo, ctx.getfileset(expr)) + m = ctx.matchfileset(expr) for f in sorted(files): if not m(f): continue