Show More
@@ -555,7 +555,7 b' class obsstore(object):' | |||
|
555 | 555 | # caches for various obsolescence related cache |
|
556 | 556 | self.caches = {} |
|
557 | 557 | self.svfs = svfs |
|
558 |
self._ |
|
|
558 | self._defaultformat = defaultformat | |
|
559 | 559 | self._readonly = readonly |
|
560 | 560 | |
|
561 | 561 | def __iter__(self): |
@@ -670,6 +670,13 b' class obsstore(object):' | |||
|
670 | 670 | return self.svfs.tryread('obsstore') |
|
671 | 671 | |
|
672 | 672 | @propertycache |
|
673 | def _version(self): | |
|
674 | if len(self._data) >= 1: | |
|
675 | return _readmarkerversion(self._data) | |
|
676 | else: | |
|
677 | return self._defaultformat | |
|
678 | ||
|
679 | @propertycache | |
|
673 | 680 | def _all(self): |
|
674 | 681 | data = self._data |
|
675 | 682 | if not data: |
General Comments 0
You need to be logged in to leave comments.
Login now