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