equal
deleted
inserted
replaced
288 flags = self._flags(rev) |
288 flags = self._flags(rev) |
289 |
289 |
290 path = b'/'.join([self._storepath, hex(node)]) |
290 path = b'/'.join([self._storepath, hex(node)]) |
291 rawtext = self._svfs.read(path) |
291 rawtext = self._svfs.read(path) |
292 |
292 |
293 text, validatehash = self._processflags(rawtext, flags, 'read', raw=raw) |
293 if raw: |
|
294 validatehash = self._processflagsraw(rawtext, flags) |
|
295 text = rawtext |
|
296 else: |
|
297 text, validatehash = self._processflagsread(rawtext, flags) |
294 if validatehash: |
298 if validatehash: |
295 self.checkhash(text, node, rev=rev) |
299 self.checkhash(text, node, rev=rev) |
296 |
300 |
297 return text |
301 return text |
298 |
302 |