##// 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 930 changedfiles = set()
931 931 clrevtomanifestrev = {}
932 932
933 state = {
934 'clrevorder': clrevorder,
935 'manifests': manifests,
936 'changedfiles': changedfiles,
937 'clrevtomanifestrev': clrevtomanifestrev,
938 }
939
933 940 # Callback for the changelog, used to collect changed files and
934 941 # manifest nodes.
935 942 # Returns the linkrev node (identity in the changelog case).
@@ -970,13 +977,6 b' class cgpacker(object):'
970 977
971 978 return x
972 979
973 state = {
974 'clrevorder': clrevorder,
975 'manifests': manifests,
976 'changedfiles': changedfiles,
977 'clrevtomanifestrev': clrevtomanifestrev,
978 }
979
980 980 gen = deltagroup(
981 981 self._repo, cl, nodes, True, lookupcl,
982 982 self._forcedeltaparentprev,
General Comments 0
You need to be logged in to leave comments. Login now