equal
deleted
inserted
replaced
1069 p1, p2 = revlog.rev(revinfo.p1), revlog.rev(revinfo.p2) |
1069 p1, p2 = revlog.rev(revinfo.p1), revlog.rev(revinfo.p2) |
1070 if deltabase not in (p1, p2) and revlog.issnapshot(deltabase): |
1070 if deltabase not in (p1, p2) and revlog.issnapshot(deltabase): |
1071 snapshotdepth = len(revlog._deltachain(deltabase)[0]) |
1071 snapshotdepth = len(revlog._deltachain(deltabase)[0]) |
1072 delta = None |
1072 delta = None |
1073 if revinfo.cachedelta: |
1073 if revinfo.cachedelta: |
1074 cachebase, cachediff = revinfo.cachedelta |
1074 cachebase = revinfo.cachedelta[0] |
1075 # check if the diff still apply |
1075 # check if the diff still apply |
1076 currentbase = cachebase |
1076 currentbase = cachebase |
1077 while ( |
1077 while ( |
1078 currentbase != nullrev |
1078 currentbase != nullrev |
1079 and currentbase != base |
1079 and currentbase != base |