##// END OF EJS Templates
changegroup: initialize the state variable a bit earlier...
Pulkit Goyal -
r41490:73a33fe6 default
parent child Browse files
Show More
@@ -930,6 +930,13 b' class cgpacker(object):'
930 changedfiles = set()
930 changedfiles = set()
931 clrevtomanifestrev = {}
931 clrevtomanifestrev = {}
932
932
933 state = {
934 'clrevorder': clrevorder,
935 'manifests': manifests,
936 'changedfiles': changedfiles,
937 'clrevtomanifestrev': clrevtomanifestrev,
938 }
939
933 # Callback for the changelog, used to collect changed files and
940 # Callback for the changelog, used to collect changed files and
934 # manifest nodes.
941 # manifest nodes.
935 # Returns the linkrev node (identity in the changelog case).
942 # Returns the linkrev node (identity in the changelog case).
@@ -970,13 +977,6 b' class cgpacker(object):'
970
977
971 return x
978 return x
972
979
973 state = {
974 'clrevorder': clrevorder,
975 'manifests': manifests,
976 'changedfiles': changedfiles,
977 'clrevtomanifestrev': clrevtomanifestrev,
978 }
979
980 gen = deltagroup(
980 gen = deltagroup(
981 self._repo, cl, nodes, True, lookupcl,
981 self._repo, cl, nodes, True, lookupcl,
982 self._forcedeltaparentprev,
982 self._forcedeltaparentprev,
General Comments 0
You need to be logged in to leave comments. Login now