mercurial/revlog.py
changeset 42879 4a3efe0febb5
parent 42876 db4af1cb128a
child 42980 0d1272783f24
equal deleted inserted replaced
42878:1ebf1a1e14dd 42879:4a3efe0febb5
  1647 
  1647 
  1648         if validated and flags == REVIDX_DEFAULT_FLAGS:
  1648         if validated and flags == REVIDX_DEFAULT_FLAGS:
  1649             # no extra flags set, no flag processor runs, text = rawtext
  1649             # no extra flags set, no flag processor runs, text = rawtext
  1650             return rawtext
  1650             return rawtext
  1651 
  1651 
  1652         text, validatehash = self._processflags(rawtext, flags, 'read', raw=raw)
  1652         if raw:
       
  1653             validatehash = self._processflagsraw(rawtext, flags)
       
  1654             text = rawtext
       
  1655         else:
       
  1656             text, validatehash = self._processflagsread(rawtext, flags)
  1653         if validatehash:
  1657         if validatehash:
  1654             self.checkhash(text, node, rev=rev)
  1658             self.checkhash(text, node, rev=rev)
  1655         if not validated:
  1659         if not validated:
  1656             self._revisioncache = (node, rev, rawtext)
  1660             self._revisioncache = (node, rev, rawtext)
  1657 
  1661