changeset 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 0ce3cd330996
files mercurial/localrepo.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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())