Show More
@@ -281,7 +281,7 def _splitrange(a, b): | |||||
281 | return ancdepths, descdepths |
|
281 | return ancdepths, descdepths | |
282 |
|
282 | |||
283 |
|
283 | |||
284 | def generationsrel(repo, subset, x, rel, z, order): |
|
284 | def generationssubrel(repo, subset, x, rel, z, order): | |
285 | # TODO: rewrite tests, and drop startdepth argument from ancestors() and |
|
285 | # TODO: rewrite tests, and drop startdepth argument from ancestors() and | |
286 | # descendants() predicates |
|
286 | # descendants() predicates | |
287 | a, b = getintrange( |
|
287 | a, b = getintrange( | |
@@ -2650,8 +2650,8 methods = { | |||||
2650 | } |
|
2650 | } | |
2651 |
|
2651 | |||
2652 | subscriptrelations = { |
|
2652 | subscriptrelations = { | |
2653 | b"g": generationsrel, |
|
2653 | b"g": generationssubrel, | |
2654 | b"generations": generationsrel, |
|
2654 | b"generations": generationssubrel, | |
2655 | } |
|
2655 | } | |
2656 |
|
2656 | |||
2657 |
|
2657 |
General Comments 0
You need to be logged in to leave comments.
Login now