mercurial/manifest.py
changeset 4267 b11a2fb59cf5
parent 4266 1b5c38e9d7aa
child 4633 ff7253a0d1da
equal deleted inserted replaced
4266:1b5c38e9d7aa 4267:b11a2fb59cf5
    33         else: self._flags[f] = ""
    33         else: self._flags[f] = ""
    34     def copy(self):
    34     def copy(self):
    35         return manifestdict(dict.copy(self), dict.copy(self._flags))
    35         return manifestdict(dict.copy(self), dict.copy(self._flags))
    36 
    36 
    37 class manifest(revlog):
    37 class manifest(revlog):
    38     def __init__(self, opener, defversion=REVLOGV0):
    38     def __init__(self, opener):
    39         self.mapcache = None
    39         self.mapcache = None
    40         self.listcache = None
    40         self.listcache = None
    41         revlog.__init__(self, opener, "00manifest.i", defversion)
    41         revlog.__init__(self, opener, "00manifest.i")
    42 
    42 
    43     def parselines(self, lines):
    43     def parselines(self, lines):
    44         for l in lines.splitlines(1):
    44         for l in lines.splitlines(1):
    45             yield l.split('\0')
    45             yield l.split('\0')
    46 
    46