Show More
@@ -347,7 +347,7 def _ancestors(repo, subset, x, followfi | |||||
347 | if not heads: |
|
347 | if not heads: | |
348 | return baseset() |
|
348 | return baseset() | |
349 | s = _revancestors(repo, heads, followfirst) |
|
349 | s = _revancestors(repo, heads, followfirst) | |
350 | return subset.filter(s.__contains__) |
|
350 | return subset & s | |
351 |
|
351 | |||
352 | def ancestors(repo, subset, x): |
|
352 | def ancestors(repo, subset, x): | |
353 | """``ancestors(set)`` |
|
353 | """``ancestors(set)`` |
General Comments 0
You need to be logged in to leave comments.
Login now