diff -r 9f6afc288702 -r 61c9bc3da402 mercurial/localrepo.py --- a/mercurial/localrepo.py Tue Jan 11 14:58:17 2011 -0600 +++ b/mercurial/localrepo.py Tue Jan 04 14:12:52 2011 -0600 @@ -1412,9 +1412,6 @@ # Nor do we know which filenodes are missing. msng_filenode_set = {} - junk = mnfst.index[len(mnfst) - 1] # Get around a bug in lazyindex - junk = None - # A changeset always belongs to itself, so the changenode lookup # function for a changenode is identity. def identity(x):