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

login
register
mail settings
Submitter Pierre-Yves David
Date Aug. 20, 2019, 4:37 p.m.
Message ID <5a46fc205da7509e937c.1566319046@nodosa.octopoid.net>
Download mbox | patch
Permalink /patch/41367/
State Accepted
Headers show

Comments

Pierre-Yves David - Aug. 20, 2019, 4:37 p.m.
# HG changeset patch
# User Pierre-Yves David <pierre-yves.david@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`

Patch

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)