equal
deleted
inserted
replaced
1360 ``repo.anyrevs([expr], user=True)``. |
1360 ``repo.anyrevs([expr], user=True)``. |
1361 |
1361 |
1362 Returns a revset.abstractsmartset, which is a list-like interface |
1362 Returns a revset.abstractsmartset, which is a list-like interface |
1363 that contains integer revisions. |
1363 that contains integer revisions. |
1364 ''' |
1364 ''' |
1365 expr = revsetlang.formatspec(expr, *args) |
1365 tree = revsetlang.spectree(expr, *args) |
1366 m = revset.match(None, expr) |
1366 return revset.makematcher(tree)(self) |
1367 return m(self) |
|
1368 |
1367 |
1369 def set(self, expr, *args): |
1368 def set(self, expr, *args): |
1370 '''Find revisions matching a revset and emit changectx instances. |
1369 '''Find revisions matching a revset and emit changectx instances. |
1371 |
1370 |
1372 This is a convenience wrapper around ``revs()`` that iterates the |
1371 This is a convenience wrapper around ``revs()`` that iterates the |