##// END OF EJS Templates
changegroup: avoid shadowing a set with an int...
Augie Fackler -
r43790:ea0b4425 default
parent child Browse files
Show More
@@ -315,15 +315,15 b' class cg1unpacker(object):'
315 )
315 )
316 self.callback = progress.increment
316 self.callback = progress.increment
317
317
318 efiles = set()
318 efilesset = set()
319
319
320 def onchangelog(cl, node):
320 def onchangelog(cl, node):
321 efiles.update(cl.readfiles(node))
321 efilesset.update(cl.readfiles(node))
322
322
323 self.changelogheader()
323 self.changelogheader()
324 deltas = self.deltaiter()
324 deltas = self.deltaiter()
325 cgnodes = cl.addgroup(deltas, csmap, trp, addrevisioncb=onchangelog)
325 cgnodes = cl.addgroup(deltas, csmap, trp, addrevisioncb=onchangelog)
326 efiles = len(efiles)
326 efiles = len(efilesset)
327
327
328 if not cgnodes:
328 if not cgnodes:
329 repo.ui.develwarn(
329 repo.ui.develwarn(
General Comments 0
You need to be logged in to leave comments. Login now