##// END OF EJS Templates
revset: add stub to handle parentpost operation...
Yuya Nishihara -
r29931:d2d1be30 default
parent child Browse files
Show More
@@ -1528,6 +1528,9 b' 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 b' methods = {'
2307 "func": func,
2310 "func": func,
2308 "ancestor": ancestorspec,
2311 "ancestor": ancestorspec,
2309 "parent": parentspec,
2312 "parent": parentspec,
2310 "parentpost": p1,
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