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