comparison tests/simplestorerepo.py @ 42724:2177133724ab

rawdata: implement `rawdata` for `simplestore` too This is needed for all implementation.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Wed, 07 Aug 2019 20:48:05 +0200
parents ad51e6117095
children 92ac6b1697a7
comparison
equal deleted inserted replaced
42723:2128c76c8970 42724:2177133724ab
324 if validatehash: 324 if validatehash:
325 self.checkhash(text, node, rev=rev) 325 self.checkhash(text, node, rev=rev)
326 326
327 return text 327 return text
328 328
329 def rawdata(self, nodeorrev):
330 return self.revision(raw=True)
331
329 def read(self, node): 332 def read(self, node):
330 validatenode(node) 333 validatenode(node)
331 334
332 revision = self.revision(node) 335 revision = self.revision(node)
333 336