changeset 48562:bf5dc156bb4c

remotefilelog: remove deprecated API Differential Revision: https://phab.mercurial-scm.org/D11949
author Raphaël Gomès <rgomes@octobus.net>
date Thu, 23 Dec 2021 14:47:33 +0100
parents 04688c51f81f
children 75fc2537d93c
files hgext/remotefilelog/remotefilelog.py
diffstat 1 files changed, 0 insertions(+), 12 deletions(-) [+]
line wrap: on
line diff
--- 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.