Show More
@@ -1204,6 +1204,7 b' def p1(repo, subset, x):' | |||||
1204 | cl = repo.changelog |
|
1204 | cl = repo.changelog | |
1205 | for r in getset(repo, spanset(repo), x): |
|
1205 | for r in getset(repo, spanset(repo), x): | |
1206 | ps.add(cl.parentrevs(r)[0]) |
|
1206 | ps.add(cl.parentrevs(r)[0]) | |
|
1207 | ps -= set([node.nullrev]) | |||
1207 | return subset & ps |
|
1208 | return subset & ps | |
1208 |
|
1209 | |||
1209 | def p2(repo, subset, x): |
|
1210 | def p2(repo, subset, x): | |
@@ -1222,6 +1223,7 b' def p2(repo, subset, x):' | |||||
1222 | cl = repo.changelog |
|
1223 | cl = repo.changelog | |
1223 | for r in getset(repo, spanset(repo), x): |
|
1224 | for r in getset(repo, spanset(repo), x): | |
1224 | ps.add(cl.parentrevs(r)[1]) |
|
1225 | ps.add(cl.parentrevs(r)[1]) | |
|
1226 | ps -= set([node.nullrev]) | |||
1225 | return subset & ps |
|
1227 | return subset & ps | |
1226 |
|
1228 | |||
1227 | def parents(repo, subset, x): |
|
1229 | def parents(repo, subset, x): |
General Comments 0
You need to be logged in to leave comments.
Login now