Mercurial > hg-stable
comparison mercurial/bundlerepo.py @ 18412:a928865b4a4f
bundlerepo: remove unused disktiprev attribute
author | Mads Kiilerich <madski@unity3d.com> |
---|---|
date | Wed, 16 Jan 2013 20:41:41 +0100 |
parents | 8b0f0dd56cec |
children | 0ccb16f5956a |
comparison
equal
deleted
inserted
replaced
18411:8b0f0dd56cec | 18412:a928865b4a4f |
---|---|
32 opener = scmutil.readonlyvfs(opener) | 32 opener = scmutil.readonlyvfs(opener) |
33 revlog.revlog.__init__(self, opener, indexfile) | 33 revlog.revlog.__init__(self, opener, indexfile) |
34 self.bundle = bundle | 34 self.bundle = bundle |
35 self.basemap = {} | 35 self.basemap = {} |
36 n = len(self) | 36 n = len(self) |
37 self.disktiprev = n - 1 | |
38 chain = None | 37 chain = None |
39 self.bundlerevs = set() # used by 'bundle()' revset expression | 38 self.bundlerevs = set() # used by 'bundle()' revset expression |
40 while True: | 39 while True: |
41 chunkdata = bundle.deltachunk(chain) | 40 chunkdata = bundle.deltachunk(chain) |
42 if not chunkdata: | 41 if not chunkdata: |