##// END OF EJS Templates
context: optimize linkrev adjustment in blockancestors() (issue5538)...
Denis Laxalde -
r32069:a457da52 stable
parent child Browse files
Show More
@@ -1214,6 +1214,10 b' def blockancestors(fctx, fromline, tolin'
1214 # introduced in this revision; no need to go futher in this
1214 # introduced in this revision; no need to go futher in this
1215 # branch.
1215 # branch.
1216 continue
1216 continue
1217 # Set _descendantrev with 'c' (a known descendant) so that, when
1218 # _adjustlinkrev is called for 'p', it receives this descendant
1219 # (as srcrev) instead possibly topmost introrev.
1220 p._descendantrev = c.rev()
1217 visit[p.linkrev(), p.filenode()] = p, linerange1
1221 visit[p.linkrev(), p.filenode()] = p, linerange1
1218 if inrange:
1222 if inrange:
1219 yield c, linerange2
1223 yield c, linerange2
General Comments 0
You need to be logged in to leave comments. Login now