##// END OF EJS Templates
tests: use interfaceutil in simplestorerepo...
Gregory Szorc -
r38565:404eab7f default
parent child Browse files
Show More
@@ -24,9 +24,6 b' from mercurial.node import ('
24 from mercurial.thirdparty import (
24 from mercurial.thirdparty import (
25 cbor,
25 cbor,
26 )
26 )
27 from mercurial.thirdparty.zope import (
28 interface as zi,
29 )
30 from mercurial import (
27 from mercurial import (
31 ancestor,
28 ancestor,
32 bundlerepo,
29 bundlerepo,
@@ -40,6 +37,9 b' from mercurial import ('
40 store,
37 store,
41 verify,
38 verify,
42 )
39 )
40 from mercurial.utils import (
41 interfaceutil,
42 )
43
43
44 # Note for extension authors: ONLY specify testedwith = 'ships-with-hg-core' for
44 # Note for extension authors: ONLY specify testedwith = 'ships-with-hg-core' for
45 # extensions which SHIP WITH MERCURIAL. Non-mainline extensions should
45 # extensions which SHIP WITH MERCURIAL. Non-mainline extensions should
@@ -60,7 +60,7 b' def validaterev(rev):'
60 if not isinstance(rev, int):
60 if not isinstance(rev, int):
61 raise ValueError('expected int')
61 raise ValueError('expected int')
62
62
63 @zi.implementer(repository.ifilestorage)
63 @interfaceutil.implementer(repository.ifilestorage)
64 class filestorage(object):
64 class filestorage(object):
65 """Implements storage for a tracked path.
65 """Implements storage for a tracked path.
66
66
General Comments 0
You need to be logged in to leave comments. Login now