Show More
@@ -47,7 +47,7 b' class remotefilelognodemap(object):' | |||||
47 | raise KeyError(node) |
|
47 | raise KeyError(node) | |
48 | return node |
|
48 | return node | |
49 |
|
49 | |||
50 | class remotefilelog(flagutil.flagprocessorsmixin): |
|
50 | class remotefilelog(object): | |
51 |
|
51 | |||
52 | _generaldelta = True |
|
52 | _generaldelta = True | |
53 | _flagserrorclass = error.RevlogError |
|
53 | _flagserrorclass = error.RevlogError |
@@ -261,7 +261,7 b' class revlogio(object):' | |||||
261 | p = versionformat_pack(version) + p[4:] |
|
261 | p = versionformat_pack(version) + p[4:] | |
262 | return p |
|
262 | return p | |
263 |
|
263 | |||
264 | class revlog(flagutil.flagprocessorsmixin): |
|
264 | class revlog(object): | |
265 | """ |
|
265 | """ | |
266 | the underlying revision storage object |
|
266 | the underlying revision storage object | |
267 |
|
267 |
@@ -79,14 +79,6 b' def insertflagprocessor(flag, processor,' | |||||
79 | raise error.Abort(msg) |
|
79 | raise error.Abort(msg) | |
80 | flagprocessors[flag] = processor |
|
80 | flagprocessors[flag] = processor | |
81 |
|
81 | |||
82 | class flagprocessorsmixin(object): |
|
|||
83 | """basic mixin to support revlog flag processing |
|
|||
84 |
|
||||
85 | Make sure the `_flagprocessors` attribute is set at ``__init__`` time. |
|
|||
86 |
|
||||
87 | See the documentation of the ``_processflags`` method for details. |
|
|||
88 | """ |
|
|||
89 |
|
||||
90 | def processflagswrite(revlog, text, flags, sidedata): |
|
82 | def processflagswrite(revlog, text, flags, sidedata): | |
91 | """Inspect revision data flags and applies write transformations defined |
|
83 | """Inspect revision data flags and applies write transformations defined | |
92 | by registered flag processors. |
|
84 | by registered flag processors. |
@@ -91,7 +91,7 b' class simplefilestoreproblem(object):' | |||||
91 | node = attr.ib(default=None) |
|
91 | node = attr.ib(default=None) | |
92 |
|
92 | |||
93 | @interfaceutil.implementer(repository.ifilestorage) |
|
93 | @interfaceutil.implementer(repository.ifilestorage) | |
94 | class filestorage(flagutil.flagprocessorsmixin): |
|
94 | class filestorage(object): | |
95 | """Implements storage for a tracked path. |
|
95 | """Implements storage for a tracked path. | |
96 |
|
96 | |||
97 | Data is stored in the VFS in a directory corresponding to the tracked |
|
97 | Data is stored in the VFS in a directory corresponding to the tracked |
General Comments 0
You need to be logged in to leave comments.
Login now