##// END OF EJS Templates
revert: bring back usage of `subset & ps` in `parents`...
Pierre-Yves David -
r22712:093df3b7 default
parent child Browse files
Show More
@@ -1242,7 +1242,7 b' def parents(repo, subset, x):'
1242 for r in getset(repo, spanset(repo), x):
1242 for r in getset(repo, spanset(repo), x):
1243 ps.update(cl.parentrevs(r))
1243 ps.update(cl.parentrevs(r))
1244 ps -= set([node.nullrev])
1244 ps -= set([node.nullrev])
1245 return baseset(ps) & subset
1245 return subset & ps
1246
1246
1247 def parentspec(repo, subset, x, n):
1247 def parentspec(repo, subset, x, n):
1248 """``set^0``
1248 """``set^0``
@@ -567,10 +567,10 b' test subtracting something from an addse'
567 test intersecting something with an addset
567 test intersecting something with an addset
568
568
569 $ log 'parents(outgoing() or removes(a))'
569 $ log 'parents(outgoing() or removes(a))'
570 8
571 1
570 1
572 4
571 4
573 5
572 5
573 8
574
574
575 check that conversion to only works
575 check that conversion to only works
576 $ try --optimize '::3 - ::1'
576 $ try --optimize '::3 - ::1'
General Comments 0
You need to be logged in to leave comments. Login now