Show More
@@ -108,12 +108,12 b' def ancestors(pfunc, *orignodes):' | |||
|
108 | 108 | if p == nullrev: |
|
109 | 109 | continue |
|
110 | 110 | dp = depth[p] |
|
111 |
|
|
|
111 | sp = seen[p] | |
|
112 | 112 | if dp <= dv: |
|
113 | 113 | depth[p] = dv + 1 |
|
114 | 114 | if sp != sv: |
|
115 | 115 | interesting[sv] += 1 |
|
116 |
|
|
|
116 | seen[p] = sv | |
|
117 | 117 | if sp: |
|
118 | 118 | interesting[sp] -= 1 |
|
119 | 119 | if interesting[sp] == 0: |
General Comments 0
You need to be logged in to leave comments.
Login now