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