Show More
@@ -701,9 +701,14 b' class filectx(object):' | |||||
701 | needed[p] = needed.get(p, 0) + 1 |
|
701 | needed[p] = needed.get(p, 0) + 1 | |
702 | if ready: |
|
702 | if ready: | |
703 | visit.pop() |
|
703 | visit.pop() | |
704 | curr = decorate(f.data(), f) |
|
704 | reusable = f in hist | |
|
705 | if reusable: | |||
|
706 | curr = hist[f] | |||
|
707 | else: | |||
|
708 | curr = decorate(f.data(), f) | |||
705 | for p in pl: |
|
709 | for p in pl: | |
706 | curr = pair(hist[p], curr) |
|
710 | if not reusable: | |
|
711 | curr = pair(hist[p], curr) | |||
707 | if needed[p] == 1: |
|
712 | if needed[p] == 1: | |
708 | del hist[p] |
|
713 | del hist[p] | |
709 | else: |
|
714 | else: |
General Comments 0
You need to be logged in to leave comments.
Login now