[Updated] D11949: remotefilelog: remove deprecated API
Alphare (Raphaël Gomès)
phabricator at mercurial-scm.org
Tue Jan 4 19:59:05 UTC 2022
Closed by commit rHGbf5dc156bb4c: remotefilelog: remove deprecated API (authored by Alphare).
This revision was automatically updated to reflect the committed changes.
This revision was not accepted when it landed; it landed in state "Needs Review".
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D11949?vs=31572&id=31587
CHANGES SINCE LAST ACTION
https://phab.mercurial-scm.org/D11949/new/
REVISION DETAIL
https://phab.mercurial-scm.org/D11949
AFFECTED FILES
hgext/remotefilelog/remotefilelog.py
CHANGE DETAILS
diff --git a/hgext/remotefilelog/remotefilelog.py b/hgext/remotefilelog/remotefilelog.py
--- a/hgext/remotefilelog/remotefilelog.py
+++ b/hgext/remotefilelog/remotefilelog.py
@@ -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.
To: Alphare, #hg-reviewers
Cc: mercurial-patches
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mercurial-scm.org/pipermail/mercurial-patches/attachments/20220104/06e4b555/attachment.html>
More information about the Mercurial-patches
mailing list