##// END OF EJS Templates
context: parents() already filters nullid
Benoit Boissinot -
r9974:da5209af default
parent child Browse files
Show More
@@ -439,12 +439,11 b' class filectx(object):'
439 439 for f in sorted(visit, key=lambda x: x.rev()):
440 440 curr = decorate(f.data(), f)
441 441 for p in parents(f):
442 if p != nullid:
443 curr = pair(hist[p], curr)
444 # trim the history of unneeded revs
445 needed[p] -= 1
446 if not needed[p]:
447 del hist[p]
442 curr = pair(hist[p], curr)
443 # trim the history of unneeded revs
444 needed[p] -= 1
445 if not needed[p]:
446 del hist[p]
448 447 hist[f] = curr
449 448
450 449 return zip(hist[f][0], hist[f][1].splitlines(True))
General Comments 0
You need to be logged in to leave comments. Login now