##// END OF EJS Templates
match: ignore "" patterns...
Matt Mackall -
r13534:4ec34de8 stable
parent child Browse files
Show More
@@ -261,6 +261,8 b' def expandpats(pats):'
261 261 return ret
262 262
263 263 def match(repo, pats=[], opts={}, globbed=False, default='relpath'):
264 if pats == ("",):
265 pats = []
264 266 if not globbed and default == 'relpath':
265 267 pats = expandpats(pats or [])
266 268 m = matchmod.match(repo.root, repo.getcwd(), pats,
General Comments 0
You need to be logged in to leave comments. Login now