Show More
@@ -1202,8 +1202,11 b' class localrepository(object):' | |||||
1202 | filerevlog = self.file(fname) |
|
1202 | filerevlog = self.file(fname) | |
1203 | # Toss out the filenodes that the recipient isn't really |
|
1203 | # Toss out the filenodes that the recipient isn't really | |
1204 | # missing. |
|
1204 | # missing. | |
1205 |
|
|
1205 | if msng_filenode_set.has_key(fname): | |
1206 | msng_filenode_lst = msng_filenode_set[fname].keys() |
|
1206 | prune_filenodes(fname, filerevlog) | |
|
1207 | msng_filenode_lst = msng_filenode_set[fname].keys() | |||
|
1208 | else: | |||
|
1209 | msng_filenode_lst = [] | |||
1207 | # If any filenodes are left, generate the group for them, |
|
1210 | # If any filenodes are left, generate the group for them, | |
1208 | # otherwise don't bother. |
|
1211 | # otherwise don't bother. | |
1209 | if len(msng_filenode_lst) > 0: |
|
1212 | if len(msng_filenode_lst) > 0: | |
@@ -1217,8 +1220,9 b' class localrepository(object):' | |||||
1217 | lookup_filenode_link_func(fname)) |
|
1220 | lookup_filenode_link_func(fname)) | |
1218 | for chnk in group: |
|
1221 | for chnk in group: | |
1219 | yield chnk |
|
1222 | yield chnk | |
1220 | # Don't need this anymore, toss it to free memory. |
|
1223 | if msng_filenode_set.has_key(fname): | |
1221 | del msng_filenode_set[fname] |
|
1224 | # Don't need this anymore, toss it to free memory. | |
|
1225 | del msng_filenode_set[fname] | |||
1222 | # Signal that no more groups are left. |
|
1226 | # Signal that no more groups are left. | |
1223 | yield struct.pack(">l", 0) |
|
1227 | yield struct.pack(">l", 0) | |
1224 |
|
1228 |
General Comments 0
You need to be logged in to leave comments.
Login now