Patchwork D6806: flagprocessors: _processflags

login
register
mail settings
Submitter phabricator
Date Sept. 7, 2019, 5:08 p.m.
Message ID <9b29f7b28511252d033aa9381ab9e7a0@localhost.localdomain>
Download mbox | patch
Permalink /patch/41555/
State Not Applicable
Headers show

Comments

phabricator - Sept. 7, 2019, 5:08 p.m.
Closed by commit rHG519b45603880: flagprocessors: deprecate _processflags (authored by marmoute).
This revision was automatically updated to reflect the committed changes.

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D6806?vs=16411&id=16445

CHANGES SINCE LAST ACTION
  https://phab.mercurial-scm.org/D6806/new/

REVISION DETAIL
  https://phab.mercurial-scm.org/D6806

AFFECTED FILES
  mercurial/revlogutils/flagutil.py

CHANGE DETAILS




To: marmoute, yuja, durin42, #hg-reviewers, indygreg
Cc: mercurial-devel

Patch

diff --git a/mercurial/revlogutils/flagutil.py b/mercurial/revlogutils/flagutil.py
--- a/mercurial/revlogutils/flagutil.py
+++ b/mercurial/revlogutils/flagutil.py
@@ -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':