[PATCH 07 of 10] rawdata: implement `rawdata` for `simplestore` too

Pierre-Yves David pierre-yves.david at ens-lyon.org
Wed Aug 7 17:30:36 EDT 2019


# HG changeset patch
# User Pierre-Yves David <pierre-yves.david at octobus.net>
# Date 1565203685 -7200
#      Wed Aug 07 20:48:05 2019 +0200
# Node ID 614e6f874408568cda406299e714b0d711e970be
# Parent  61aefd21e509dac932964c332744f42e7d619546
# EXP-Topic rawdata
# Available At https://bitbucket.org/octobus/mercurial-devel/
#              hg pull https://bitbucket.org/octobus/mercurial-devel/ -r 614e6f874408
rawdata: implement `rawdata` for `simplestore` too

This is needed for all implementation.

diff --git a/tests/simplestorerepo.py b/tests/simplestorerepo.py
--- a/tests/simplestorerepo.py
+++ b/tests/simplestorerepo.py
@@ -326,6 +326,9 @@ class filestorage(object):
 
         return text
 
+    def rawdata(self, nodeorrev):
+        return self.revision(raw=True)
+
     def read(self, node):
         validatenode(node)
 


More information about the Mercurial-devel mailing list