##// END OF EJS Templates
remotefilelog: remove deprecated API...
Raphaël Gomès -
r49358:bf5dc156 default
parent child Browse files
Show More
@@ -18,7 +18,6 b' from mercurial import ('
18 mdiff,
18 mdiff,
19 pycompat,
19 pycompat,
20 revlog,
20 revlog,
21 util,
22 )
21 )
23 from mercurial.utils import storageutil
22 from mercurial.utils import storageutil
24 from mercurial.revlogutils import flagutil
23 from mercurial.revlogutils import flagutil
@@ -360,17 +359,6 b' class remotefilelog(object):'
360 )
359 )
361 return rev
360 return rev
362
361
363 def _processflags(self, text, flags, operation, raw=False):
364 """deprecated entry point to access flag processors"""
365 msg = b'_processflag(...) use the specialized variant'
366 util.nouideprecwarn(msg, b'5.2', stacklevel=2)
367 if raw:
368 return text, flagutil.processflagsraw(self, text, flags)
369 elif operation == b'read':
370 return flagutil.processflagsread(self, text, flags)
371 else: # write operation
372 return flagutil.processflagswrite(self, text, flags)
373
374 def revision(self, node, raw=False):
362 def revision(self, node, raw=False):
375 """returns the revlog contents at this node.
363 """returns the revlog contents at this node.
376 this includes the meta data traditionally included in file revlogs.
364 this includes the meta data traditionally included in file revlogs.
General Comments 0
You need to be logged in to leave comments. Login now