changeset 2149 | 43ce1c17e644 |
parent 2143 | 3053fc33f545 |
child 2150 | f15c6394d90d |
--- a/mercurial/localrepo.py +++ b/mercurial/localrepo.py @@ -1320,7 +1320,8 @@ class localrepository(object): # Signal that no more groups are left. yield changegroup.closechunk() - self.hook('outgoing', node=hex(msng_cl_lst[0]), source=source) + if nodes: + self.hook('outgoing', node=hex(msng_cl_lst[0]), source=source) return util.chunkbuffer(gengroup())