changegroup: fix leftover from delta read
authorMatt Mackall <mpm@selenic.com>
Sun, 20 Mar 2011 20:17:57 -0500
changeset 13714 7f53ce232d63
parent 13713 ee4f7109457e
child 13715 2edf41a90b9d
changegroup: fix leftover from delta read
mercurial/localrepo.py
--- a/mercurial/localrepo.py	Sun Mar 20 20:16:51 2011 -0500
+++ b/mercurial/localrepo.py	Sun Mar 20 20:17:57 2011 -0500
@@ -1620,8 +1620,6 @@
             nodeiter = gennodelst(mnfst)
             for cnt, chnk in enumerate(mnfst.group(nodeiter,
                                                    lookuplinkrev_func(mnfst))):
-                if cnt % 3 == 1:
-                    mnode = chnk[:20]
                 # see above comment for why we divide by 3
                 self.ui.progress(_('bundling'), cnt / 3,
                                  unit=_('manifests'), total=changecount)