[PATCH 1 of 7] revlog: drop silly `raw` parameter to `rawdata` function

Pierre-Yves David pierre-yves.david at ens-lyon.org
Tue Aug 20 12:37:26 EDT 2019


# HG changeset patch
# User Pierre-Yves David <pierre-yves.david at octobus.net>
# Date 1566224067 -7200
#      Mon Aug 19 16:14:27 2019 +0200
# Node ID 5a46fc205da7509e937c826720e0211bd80f2c52
# Parent  581a658e3fc8f73bed80d5457d09dfddbe8d44ea
# EXP-Topic revisiondata
# Available At https://bitbucket.org/octobus/mercurial-devel/
#              hg pull https://bitbucket.org/octobus/mercurial-devel/ -r 5a46fc205da7
revlog: drop silly `raw` parameter to `rawdata` function

This is a leftover from `revision` and does not make sense for `rawdata`

diff --git a/mercurial/revlog.py b/mercurial/revlog.py
--- a/mercurial/revlog.py
+++ b/mercurial/revlog.py
@@ -1677,7 +1677,7 @@ class revlog(object):
 
         return text
 
-    def rawdata(self, nodeorrev, _df=None, raw=False):
+    def rawdata(self, nodeorrev, _df=None):
         """return an uncompressed raw data of a given node or revision number.
 
         _df - an existing file handle to read from. (internal-only)


More information about the Mercurial-devel mailing list