fix a NameError in changegroupsubset
authorBenoit Boissinot <benoit.boissinot@ens-lyon.org>
Fri, 28 Apr 2006 11:36:33 +0200
changeset 2150 f15c6394d90d
parent 2149 43ce1c17e644
child 2151 0ce3cd330996
fix a NameError in changegroupsubset
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())