Show More
@@ -2667,6 +2667,9 b' def match(ui, spec, repo=None):' | |||||
2667 | if repo: |
|
2667 | if repo: | |
2668 | lookup = repo.__contains__ |
|
2668 | lookup = repo.__contains__ | |
2669 | tree = parse(spec, lookup) |
|
2669 | tree = parse(spec, lookup) | |
|
2670 | return _makematcher(ui, tree, repo) | |||
|
2671 | ||||
|
2672 | def _makematcher(ui, tree, repo): | |||
2670 | if ui: |
|
2673 | if ui: | |
2671 | tree = findaliases(ui, tree, showwarning=ui.warn) |
|
2674 | tree = findaliases(ui, tree, showwarning=ui.warn) | |
2672 | tree = foldconcat(tree) |
|
2675 | tree = foldconcat(tree) |
General Comments 0
You need to be logged in to leave comments.
Login now