Show More
@@ -47,7 +47,7 b' class remotefilelognodemap(object):' | |||
|
47 | 47 | raise KeyError(node) |
|
48 | 48 | return node |
|
49 | 49 | |
|
50 | class remotefilelog(flagutil.flagprocessorsmixin): | |
|
50 | class remotefilelog(object): | |
|
51 | 51 | |
|
52 | 52 | _generaldelta = True |
|
53 | 53 | _flagserrorclass = error.RevlogError |
@@ -261,7 +261,7 b' class revlogio(object):' | |||
|
261 | 261 | p = versionformat_pack(version) + p[4:] |
|
262 | 262 | return p |
|
263 | 263 | |
|
264 | class revlog(flagutil.flagprocessorsmixin): | |
|
264 | class revlog(object): | |
|
265 | 265 | """ |
|
266 | 266 | the underlying revision storage object |
|
267 | 267 |
@@ -79,14 +79,6 b' def insertflagprocessor(flag, processor,' | |||
|
79 | 79 | raise error.Abort(msg) |
|
80 | 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 | 82 | def processflagswrite(revlog, text, flags, sidedata): |
|
91 | 83 | """Inspect revision data flags and applies write transformations defined |
|
92 | 84 | by registered flag processors. |
@@ -91,7 +91,7 b' class simplefilestoreproblem(object):' | |||
|
91 | 91 | node = attr.ib(default=None) |
|
92 | 92 | |
|
93 | 93 | @interfaceutil.implementer(repository.ifilestorage) |
|
94 | class filestorage(flagutil.flagprocessorsmixin): | |
|
94 | class filestorage(object): | |
|
95 | 95 | """Implements storage for a tracked path. |
|
96 | 96 | |
|
97 | 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