Show More
@@ -261,6 +261,8 b' def expandpats(pats):' | |||||
261 | return ret |
|
261 | return ret | |
262 |
|
262 | |||
263 | def match(repo, pats=[], opts={}, globbed=False, default='relpath'): |
|
263 | def match(repo, pats=[], opts={}, globbed=False, default='relpath'): | |
|
264 | if pats == ("",): | |||
|
265 | pats = [] | |||
264 | if not globbed and default == 'relpath': |
|
266 | if not globbed and default == 'relpath': | |
265 | pats = expandpats(pats or []) |
|
267 | pats = expandpats(pats or []) | |
266 | m = matchmod.match(repo.root, repo.getcwd(), pats, |
|
268 | m = matchmod.match(repo.root, repo.getcwd(), pats, |
General Comments 0
You need to be logged in to leave comments.
Login now