##// END OF EJS Templates
filectx: use linkrev to sort ancestors...
Matt Mackall -
r23981:24b57c38 stable
parent child Browse files
Show More
@@ -954,7 +954,7 b' class basefilectx(object):'
954 954 cut = followfirst and 1 or None
955 955 while True:
956 956 for parent in c.parents()[:cut]:
957 visit[(parent.rev(), parent.node())] = parent
957 visit[(parent.linkrev(), parent.filenode())] = parent
958 958 if not visit:
959 959 break
960 960 c = visit.pop(max(visit))
General Comments 0
You need to be logged in to leave comments. Login now