Show More
@@ -23,4 +23,5 b' draft()' | |||
|
23 | 23 | max(::(tip~20) - obsolete()) |
|
24 | 24 | roots((0:tip)::) |
|
25 | 25 | (not public() - obsolete()) |
|
26 | parents(20000) | |
|
26 | 27 | (20000::) - (20000) |
@@ -1236,7 +1236,7 b' def parents(repo, subset, x):' | |||
|
1236 | 1236 | cl = repo.changelog |
|
1237 | 1237 | for r in getset(repo, spanset(repo), x): |
|
1238 | 1238 | ps.update(cl.parentrevs(r)) |
|
1239 |
return |
|
|
1239 | return baseset(ps) & subset | |
|
1240 | 1240 | |
|
1241 | 1241 | def parentspec(repo, subset, x, n): |
|
1242 | 1242 | """``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 | |
|
570 | 571 | 1 |
|
571 | 572 | 4 |
|
572 | 573 | 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