##// END OF EJS Templates
revset: get rid of redundant error checking from match()...
Yuya Nishihara -
r29425:4f5531f8 default
parent child Browse files
Show More
@@ -2529,8 +2529,6 b' def posttreebuilthook(tree, repo):'
2529 2529
2530 2530 def match(ui, spec, repo=None):
2531 2531 """Create a matcher for a single revision spec."""
2532 if not spec:
2533 raise error.ParseError(_("empty query"))
2534 2532 return matchany(ui, [spec], repo=repo)
2535 2533
2536 2534 def matchany(ui, specs, repo=None):
General Comments 0
You need to be logged in to leave comments. Login now