comparison mercurial/match.py @ 41129:074c72a38423

merge with stable
author Augie Fackler <augie@google.com>
date Mon, 07 Jan 2019 19:03:23 -0500
parents 9e462fb88f79 481249481392
children 4fab8a7d2d72
comparison
equal deleted inserted replaced
41126:d8f5c615e811 41129:074c72a38423
46 matchers = [] 46 matchers = []
47 other = [] 47 other = []
48 48
49 for kind, pat, source in kindpats: 49 for kind, pat, source in kindpats:
50 if kind == 'set': 50 if kind == 'set':
51 if not ctx: 51 if ctx is None:
52 raise error.ProgrammingError("fileset expression with no " 52 raise error.ProgrammingError("fileset expression with no "
53 "context") 53 "context")
54 matchers.append(ctx.matchfileset(pat, badfn=badfn)) 54 matchers.append(ctx.matchfileset(pat, badfn=badfn))
55 55
56 if listsubrepos: 56 if listsubrepos: