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	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())