diff mercurial/localrepo.py @ 2150:f15c6394d90d

fix a NameError in changegroupsubset
author Benoit Boissinot <benoit.boissinot@ens-lyon.org>
date Fri, 28 Apr 2006 11:36:33 +0200
parents 43ce1c17e644
children 57729c56a23c ff255b41b4aa
line wrap: on
line diff
--- a/mercurial/localrepo.py
+++ b/mercurial/localrepo.py
@@ -1320,7 +1320,7 @@ class localrepository(object):
             # 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())