equal
deleted
inserted
replaced
410 cachefile.write(headerdata) |
410 cachefile.write(headerdata) |
411 cachefile.write(self._data) |
411 cachefile.write(self._data) |
412 cachefile.close() |
412 cachefile.close() |
413 self._ondiskkey = self._cachekey |
413 self._ondiskkey = self._cachekey |
414 except (IOError, OSError) as exc: |
414 except (IOError, OSError) as exc: |
|
415 repo.ui.log('obscache', 'could not write update %s\n' % exc) |
415 repo.ui.debug('obscache: could not write update %s\n' % exc) |
416 repo.ui.debug('obscache: could not write update %s\n' % exc) |
416 |
417 |
417 def load(self, repo): |
418 def load(self, repo): |
418 """load data from disk""" |
419 """load data from disk""" |
419 assert repo.filtername is None |
420 assert repo.filtername is None |