Show More
@@ -330,6 +330,9 def getobsoleted(repo, tr): | |||
|
330 | 330 | class _succs(list): |
|
331 | 331 | """small class to represent a successors with some metadata about it""" |
|
332 | 332 | |
|
333 | def copy(self): | |
|
334 | return _succs(self) | |
|
335 | ||
|
333 | 336 | def successorssets(repo, initialnode, closest=False, cache=None): |
|
334 | 337 | """Return set of all latest successors of initial nodes |
|
335 | 338 | |
@@ -530,7 +533,7 def successorssets(repo, initialnode, cl | |||
|
530 | 533 | productresult = [] |
|
531 | 534 | for prefix in markss: |
|
532 | 535 | for suffix in cache[suc]: |
|
533 |
newss = |
|
|
536 | newss = prefix.copy() | |
|
534 | 537 | for part in suffix: |
|
535 | 538 | # do not duplicated entry in successors set |
|
536 | 539 | # first entry wins. |
General Comments 0
You need to be logged in to leave comments.
Login now