Show More
@@ -1346,7 +1346,7 b' def rev(repo, subset, x):' | |||||
1346 | except (TypeError, ValueError): |
|
1346 | except (TypeError, ValueError): | |
1347 | # i18n: "rev" is a keyword |
|
1347 | # i18n: "rev" is a keyword | |
1348 | raise error.ParseError(_("rev expects a number")) |
|
1348 | raise error.ParseError(_("rev expects a number")) | |
1349 | return subset.filter(lambda r: r == l) |
|
1349 | return subset & baseset([l]) | |
1350 |
|
1350 | |||
1351 | def matching(repo, subset, x): |
|
1351 | def matching(repo, subset, x): | |
1352 | """``matching(revision [, field])`` |
|
1352 | """``matching(revision [, field])`` |
General Comments 0
You need to be logged in to leave comments.
Login now