Show More
@@ -933,9 +933,7 b' def branchpoint(repo, subset, x):' | |||||
933 | for p in cl.parentrevs(r): |
|
933 | for p in cl.parentrevs(r): | |
934 | if p >= baserev: |
|
934 | if p >= baserev: | |
935 | parentscount[p - baserev] += 1 |
|
935 | parentscount[p - baserev] += 1 | |
936 | branchpoints = set((baserev + i) for i in xrange(len(parentscount)) |
|
936 | return [r for r in subset if (parentscount[r - baserev] > 1)] | |
937 | if parentscount[i] > 1) |
|
|||
938 | return [r for r in subset if r in branchpoints] |
|
|||
939 |
|
937 | |||
940 | def minrev(repo, subset, x): |
|
938 | def minrev(repo, subset, x): | |
941 | """``min(set)`` |
|
939 | """``min(set)`` |
General Comments 0
You need to be logged in to leave comments.
Login now