equal
deleted
inserted
replaced
5 # This software may be used and distributed according to the terms of the |
5 # This software may be used and distributed according to the terms of the |
6 # GNU General Public License version 2 or any later version. |
6 # GNU General Public License version 2 or any later version. |
7 |
7 |
8 from __future__ import absolute_import |
8 from __future__ import absolute_import |
9 |
9 |
10 from .thirdparty.zope import ( |
|
11 interface as zi, |
|
12 ) |
|
13 from . import ( |
10 from . import ( |
14 error, |
11 error, |
15 repository, |
12 repository, |
16 revlog, |
13 revlog, |
17 ) |
14 ) |
18 |
15 from .utils import ( |
19 @zi.implementer(repository.ifilestorage) |
16 interfaceutil, |
|
17 ) |
|
18 |
|
19 @interfaceutil.implementer(repository.ifilestorage) |
20 class filelog(object): |
20 class filelog(object): |
21 def __init__(self, opener, path): |
21 def __init__(self, opener, path): |
22 self._revlog = revlog.revlog(opener, |
22 self._revlog = revlog.revlog(opener, |
23 '/'.join(('data', path + '.i')), |
23 '/'.join(('data', path + '.i')), |
24 censorable=True) |
24 censorable=True) |