remotefilelog: remove deprecated API
authorRaphaël Gomès <rgomes@octobus.net>
Thu, 23 Dec 2021 14:47:33 +0100
changeset 48527 bf5dc156bb4c
parent 48526 04688c51f81f
child 48528 75fc2537d93c
remotefilelog: remove deprecated API Differential Revision: https://phab.mercurial-scm.org/D11949
hgext/remotefilelog/remotefilelog.py
--- a/hgext/remotefilelog/remotefilelog.py	Tue Dec 07 16:44:22 2021 +0100
+++ b/hgext/remotefilelog/remotefilelog.py	Thu Dec 23 14:47:33 2021 +0100
@@ -18,7 +18,6 @@
     mdiff,
     pycompat,
     revlog,
-    util,
 )
 from mercurial.utils import storageutil
 from mercurial.revlogutils import flagutil
@@ -360,17 +359,6 @@
             )
         return rev
 
-    def _processflags(self, text, flags, operation, raw=False):
-        """deprecated entry point to access flag processors"""
-        msg = b'_processflag(...) use the specialized variant'
-        util.nouideprecwarn(msg, b'5.2', stacklevel=2)
-        if raw:
-            return text, flagutil.processflagsraw(self, text, flags)
-        elif operation == b'read':
-            return flagutil.processflagsread(self, text, flags)
-        else:  # write operation
-            return flagutil.processflagswrite(self, text, flags)
-
     def revision(self, node, raw=False):
         """returns the revlog contents at this node.
         this includes the meta data traditionally included in file revlogs.