Skip to content
Snippets Groups Projects
Commit 519b4560 authored by Pierre-Yves David's avatar Pierre-Yves David :octopus:
Browse files

flagprocessors: deprecate _processflags

People should use the specialized version instead now.

Differential Revision: https://phab.mercurial-scm.org/D6806
parent 38c62272
No related branches found
No related tags found
No related merge requests found
......@@ -91,6 +91,8 @@
def _processflags(self, text, flags, operation, raw=False):
"""deprecated entry point to access flag processors"""
msg = ('_processflag(...) use the specialized variant')
util.nouideprecwarn(msg, '5.2', stacklevel=2)
if raw:
return text, self._processflagsraw(text, flags)
elif operation == 'read':
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment