Mercurial > hg
comparison mercurial/localrepo.py @ 13253:61c9bc3da402
revlog: remove lazy index
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Tue, 04 Jan 2011 14:12:52 -0600 |
parents | 6f011cf52f9a |
children | 952baa2f3325 |
comparison
equal
deleted
inserted
replaced
13252:9f6afc288702 | 13253:61c9bc3da402 |
---|---|
1409 mnfst = self.manifest | 1409 mnfst = self.manifest |
1410 # We don't know which manifests are missing yet | 1410 # We don't know which manifests are missing yet |
1411 msng_mnfst_set = {} | 1411 msng_mnfst_set = {} |
1412 # Nor do we know which filenodes are missing. | 1412 # Nor do we know which filenodes are missing. |
1413 msng_filenode_set = {} | 1413 msng_filenode_set = {} |
1414 | |
1415 junk = mnfst.index[len(mnfst) - 1] # Get around a bug in lazyindex | |
1416 junk = None | |
1417 | 1414 |
1418 # A changeset always belongs to itself, so the changenode lookup | 1415 # A changeset always belongs to itself, so the changenode lookup |
1419 # function for a changenode is identity. | 1416 # function for a changenode is identity. |
1420 def identity(x): | 1417 def identity(x): |
1421 return x | 1418 return x |