mercurial/localrepo.py
changeset 2149 43ce1c17e644
parent 2143 3053fc33f545
child 2150 f15c6394d90d
equal deleted inserted replaced
2148:c72e618c1204 2149:43ce1c17e644
  1318                     # Don't need this anymore, toss it to free memory.
  1318                     # Don't need this anymore, toss it to free memory.
  1319                     del msng_filenode_set[fname]
  1319                     del msng_filenode_set[fname]
  1320             # Signal that no more groups are left.
  1320             # Signal that no more groups are left.
  1321             yield changegroup.closechunk()
  1321             yield changegroup.closechunk()
  1322 
  1322 
  1323             self.hook('outgoing', node=hex(msng_cl_lst[0]), source=source)
  1323             if nodes:
       
  1324                 self.hook('outgoing', node=hex(msng_cl_lst[0]), source=source)
  1324 
  1325 
  1325         return util.chunkbuffer(gengroup())
  1326         return util.chunkbuffer(gengroup())
  1326 
  1327 
  1327     def changegroup(self, basenodes, source):
  1328     def changegroup(self, basenodes, source):
  1328         """Generate a changegroup of all nodes that we have that a recipient
  1329         """Generate a changegroup of all nodes that we have that a recipient