##// END OF EJS Templates
changegroup: don't try to prune manifest nodes if not ellipses...
Pulkit Goyal -
r41868:5f9d057b default
parent child Browse files
Show More
@@ -1073,6 +1073,11 b' class cgpacker(object):'
1073 # because of narrow clones). Do this even for the root
1073 # because of narrow clones). Do this even for the root
1074 # directory (tree=='')
1074 # directory (tree=='')
1075 prunednodes = []
1075 prunednodes = []
1076 elif not self._ellipses:
1077 # In non-ellipses case and large repositories, it is better to
1078 # prevent calling of store.rev and store.linkrev on a lot of
1079 # nodes as compared to sending some extra data
1080 prunednodes = nodes.copy()
1076 else:
1081 else:
1077 # Avoid sending any manifest nodes we can prove the
1082 # Avoid sending any manifest nodes we can prove the
1078 # client already has by checking linkrevs. See the
1083 # client already has by checking linkrevs. See the
General Comments 0
You need to be logged in to leave comments. Login now