Show More
@@ -407,7 +407,12 b' def _orsetlist(repo, subset, xs):' | |||||
407 | return a + b |
|
407 | return a + b | |
408 |
|
408 | |||
409 | def orset(repo, subset, x, order): |
|
409 | def orset(repo, subset, x, order): | |
410 | return _orsetlist(repo, subset, getlist(x)) |
|
410 | xs = getlist(x) | |
|
411 | if order == followorder: | |||
|
412 | # slow path to take the subset order | |||
|
413 | return subset & _orsetlist(repo, fullreposet(repo), xs) | |||
|
414 | else: | |||
|
415 | return _orsetlist(repo, subset, xs) | |||
411 |
|
416 | |||
412 | def notset(repo, subset, x, order): |
|
417 | def notset(repo, subset, x, order): | |
413 | return subset - getset(repo, subset, x) |
|
418 | return subset - getset(repo, subset, x) |
@@ -1317,15 +1317,14 b' ordering defined by it.' | |||||
1317 | follow) |
|
1317 | follow) | |
1318 | define) |
|
1318 | define) | |
1319 | * set: |
|
1319 | * set: | |
1320 |
< |
|
1320 | <filteredset | |
1321 | <filteredset |
|
1321 | <spanset- 0:2>, | |
|
1322 | <addset | |||
1322 | <spanset+ 0:1>, |
|
1323 | <spanset+ 0:1>, | |
1323 |
< |
|
1324 | <baseset [2]>>> | |
1324 | <baseset [2]>> |
|
1325 | 2 | |
|
1326 | 1 | |||
1325 | 0 |
|
1327 | 0 | |
1326 | 1 |
|
|||
1327 | 2 |
|
|||
1328 | BROKEN: should be '2 1 0' |
|
|||
1329 |
|
1328 | |||
1330 | '_intlist(a b)' should behave like 'a + b': |
|
1329 | '_intlist(a b)' should behave like 'a + b': | |
1331 |
|
1330 |
General Comments 0
You need to be logged in to leave comments.
Login now