Show More
@@ -1833,12 +1833,13 b' def matching(repo, subset, x):' | |||
|
1833 | 1833 | |
|
1834 | 1834 | return subset.filter(matches, condrepr=('<matching%r %r>', fields, revs)) |
|
1835 | 1835 | |
|
1836 | @predicate('reverse(set)', safe=True) | |
|
1837 | def reverse(repo, subset, x): | |
|
1836 | @predicate('reverse(set)', safe=True, takeorder=True) | |
|
1837 | def reverse(repo, subset, x, order): | |
|
1838 | 1838 | """Reverse order of set. |
|
1839 | 1839 | """ |
|
1840 | 1840 | l = getset(repo, subset, x) |
|
1841 | l.reverse() | |
|
1841 | if order == defineorder: | |
|
1842 | l.reverse() | |
|
1842 | 1843 | return l |
|
1843 | 1844 | |
|
1844 | 1845 | @predicate('roots(set)', safe=True) |
@@ -1594,12 +1594,11 b' ordering defined by it.' | |||
|
1594 | 1594 | define) |
|
1595 | 1595 | * set: |
|
1596 | 1596 | <filteredset |
|
1597 |
<spanset |
|
|
1597 | <spanset+ 0:2>, | |
|
1598 | 1598 | <spanset+ 0:9>> |
|
1599 | 0 | |
|
1600 | 1 | |
|
1599 | 1601 | 2 |
|
1600 | 1 | |
|
1601 | 0 | |
|
1602 | BROKEN: should be '0 1 2' | |
|
1603 | 1602 | |
|
1604 | 1603 | 'sort()' should take effect only if it is the outermost expression: |
|
1605 | 1604 |
General Comments 0
You need to be logged in to leave comments.
Login now