comparison mercurial/interfaces/repository.py @ 51023:14de15825253

revlog: drop the df argument to `rawdata` The intend of this argument is better filled by the `revlog.reading` or `revlog._writing` context. So we drop it to leave rooms for further cleanup and improvements.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Tue, 26 Sep 2023 00:54:46 +0200
parents 33d2f0164d0d
children 861fe9273d57
comparison
equal deleted inserted replaced
51022:33d2f0164d0d 51023:14de15825253
1283 """Obtain the changeset revision number a revision is linked to.""" 1283 """Obtain the changeset revision number a revision is linked to."""
1284 1284
1285 def revision(node): 1285 def revision(node):
1286 """Obtain fulltext data for a node.""" 1286 """Obtain fulltext data for a node."""
1287 1287
1288 def rawdata(node, _df=None): 1288 def rawdata(node):
1289 """Obtain raw data for a node.""" 1289 """Obtain raw data for a node."""
1290 1290
1291 def revdiff(rev1, rev2): 1291 def revdiff(rev1, rev2):
1292 """Obtain a delta between two revision numbers. 1292 """Obtain a delta between two revision numbers.
1293 1293