Show More
@@ -1528,6 +1528,9 def p2(repo, subset, x): | |||||
1528 | # some optimisations from the fact this is a baseset. |
|
1528 | # some optimisations from the fact this is a baseset. | |
1529 | return subset & ps |
|
1529 | return subset & ps | |
1530 |
|
1530 | |||
|
1531 | def parentpost(repo, subset, x): | |||
|
1532 | return p1(repo, subset, x) | |||
|
1533 | ||||
1531 | @predicate('parents([set])', safe=True) |
|
1534 | @predicate('parents([set])', safe=True) | |
1532 | def parents(repo, subset, x): |
|
1535 | def parents(repo, subset, x): | |
1533 | """ |
|
1536 | """ | |
@@ -2307,7 +2310,7 methods = { | |||||
2307 | "func": func, |
|
2310 | "func": func, | |
2308 | "ancestor": ancestorspec, |
|
2311 | "ancestor": ancestorspec, | |
2309 | "parent": parentspec, |
|
2312 | "parent": parentspec, | |
2310 |
"parentpost": p |
|
2313 | "parentpost": parentpost, | |
2311 | } |
|
2314 | } | |
2312 |
|
2315 | |||
2313 | # Constants for ordering requirement, used in _analyze(): |
|
2316 | # Constants for ordering requirement, used in _analyze(): |
General Comments 0
You need to be logged in to leave comments.
Login now