Show More
@@ -916,14 +916,14 b' def _rawgroups(revlog, p1, p2, cachedelt' | |||||
916 | # chain. |
|
916 | # chain. | |
917 | max_depth = max(parents_snaps.keys()) |
|
917 | max_depth = max(parents_snaps.keys()) | |
918 | chain = deltachain(other) |
|
918 | chain = deltachain(other) | |
919 |
for |
|
919 | for depth, s in enumerate(chain): | |
920 | if s < snapfloor: |
|
920 | if s < snapfloor: | |
921 | continue |
|
921 | continue | |
922 |
if max_depth < |
|
922 | if max_depth < depth: | |
923 | break |
|
923 | break | |
924 | if not revlog.issnapshot(s): |
|
924 | if not revlog.issnapshot(s): | |
925 | break |
|
925 | break | |
926 |
parents_snaps[ |
|
926 | parents_snaps[depth].add(s) | |
927 | # Test them as possible intermediate snapshot base |
|
927 | # Test them as possible intermediate snapshot base | |
928 | # We test them from highest to lowest level. High level one are more |
|
928 | # We test them from highest to lowest level. High level one are more | |
929 | # likely to result in small delta |
|
929 | # likely to result in small delta |
General Comments 0
You need to be logged in to leave comments.
Login now