equal
deleted
inserted
replaced
2169 def lookupfn(repo): |
2169 def lookupfn(repo): |
2170 return lambda symbol: scmutil.isrevsymbol(repo, symbol) |
2170 return lambda symbol: scmutil.isrevsymbol(repo, symbol) |
2171 |
2171 |
2172 def match(ui, spec, lookup=None): |
2172 def match(ui, spec, lookup=None): |
2173 """Create a matcher for a single revision spec""" |
2173 """Create a matcher for a single revision spec""" |
2174 return matchany(ui, [spec], lookup=None) |
2174 return matchany(ui, [spec], lookup=lookup) |
2175 |
2175 |
2176 def matchany(ui, specs, lookup=None, localalias=None): |
2176 def matchany(ui, specs, lookup=None, localalias=None): |
2177 """Create a matcher that will include any revisions matching one of the |
2177 """Create a matcher that will include any revisions matching one of the |
2178 given specs |
2178 given specs |
2179 |
2179 |