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