author | Vincent Danjean <vdanjean@free.fr> |
Thu, 27 Apr 2006 22:29:02 -0700 | |
changeset 2149 | 43ce1c17e644 |
parent 2148 | c72e618c1204 |
child 2150 | f15c6394d90d |
--- a/mercurial/localrepo.py Thu Apr 27 22:11:13 2006 -0700 +++ b/mercurial/localrepo.py Thu Apr 27 22:29:02 2006 -0700 @@ -1320,7 +1320,8 @@ # 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())