Show More
@@ -940,7 +940,7 b' def head(repo, subset, x):' | |||||
940 | hs = set() |
|
940 | hs = set() | |
941 | for b, ls in repo.branchmap().iteritems(): |
|
941 | for b, ls in repo.branchmap().iteritems(): | |
942 | hs.update(repo[h].rev() for h in ls) |
|
942 | hs.update(repo[h].rev() for h in ls) | |
943 |
return |
|
943 | return baseset(hs).filter(subset.__contains__) | |
944 |
|
944 | |||
945 | def heads(repo, subset, x): |
|
945 | def heads(repo, subset, x): | |
946 | """``heads(set)`` |
|
946 | """``heads(set)`` |
General Comments 0
You need to be logged in to leave comments.
Login now