equal
deleted
inserted
replaced
230 mode = None |
230 mode = None |
231 except OSError: |
231 except OSError: |
232 mode = None |
232 mode = None |
233 return mode |
233 return mode |
234 |
234 |
235 _data = 'data 00manifest.d 00manifest.i 00changelog.d 00changelog.i' |
235 _data = 'data 00manifest.d 00manifest.i 00changelog.d 00changelog.i phaseroots' |
236 |
236 |
237 class basicstore(object): |
237 class basicstore(object): |
238 '''base class for local repository stores''' |
238 '''base class for local repository stores''' |
239 def __init__(self, path, openertype): |
239 def __init__(self, path, openertype): |
240 self.path = path |
240 self.path = path |
408 # (may be caused by rollback / strip) |
408 # (may be caused by rollback / strip) |
409 self.fncache.rewrite(existing) |
409 self.fncache.rewrite(existing) |
410 |
410 |
411 def copylist(self): |
411 def copylist(self): |
412 d = ('data dh fncache' |
412 d = ('data dh fncache' |
413 ' 00manifest.d 00manifest.i 00changelog.d 00changelog.i') |
413 ' 00manifest.d 00manifest.i 00changelog.d 00changelog.i phaseroots') |
414 return (['requires', '00changelog.i'] + |
414 return (['requires', '00changelog.i'] + |
415 ['store/' + f for f in d.split()]) |
415 ['store/' + f for f in d.split()]) |
416 |
416 |
417 def write(self): |
417 def write(self): |
418 self.fncache.write() |
418 self.fncache.write() |