diff -r 43ce1c17e644 -r f15c6394d90d mercurial/localrepo.py --- a/mercurial/localrepo.py Thu Apr 27 22:29:02 2006 -0700 +++ b/mercurial/localrepo.py Fri Apr 28 11:36:33 2006 +0200 @@ -1320,7 +1320,7 @@ # Signal that no more groups are left. yield changegroup.closechunk() - if nodes: + if msng_cl_lst: self.hook('outgoing', node=hex(msng_cl_lst[0]), source=source) return util.chunkbuffer(gengroup())