Show More
@@ -37,15 +37,15 b' def _genrevancestors(repo, revs, followf' | |||
|
37 | 37 | if inputrev is not None: |
|
38 | 38 | heapq.heappush(pendingheap, -inputrev) |
|
39 | 39 | |
|
40 | seen = set() | |
|
40 | lastrev = None | |
|
41 | 41 | while pendingheap: |
|
42 | 42 | currev = -heapq.heappop(pendingheap) |
|
43 | 43 | if currev == inputrev: |
|
44 | 44 | inputrev = next(irevs, None) |
|
45 | 45 | if inputrev is not None: |
|
46 | 46 | heapq.heappush(pendingheap, -inputrev) |
|
47 |
if currev |
|
|
48 |
|
|
|
47 | if currev != lastrev: | |
|
48 | lastrev = currev | |
|
49 | 49 | yield currev |
|
50 | 50 | try: |
|
51 | 51 | for prev in cl.parentrevs(currev)[:cut]: |
General Comments 0
You need to be logged in to leave comments.
Login now