hgext/remotefilelog/remotefilelog.py
changeset 42876 db4af1cb128a
parent 42872 a5c088966d6c
child 42877 a3665eed228f
equal deleted inserted replaced
42875:87a934684c3b 42876:db4af1cb128a
   133         # text passed to "addrevision" includes hg filelog metadata header
   133         # text passed to "addrevision" includes hg filelog metadata header
   134         if node is None:
   134         if node is None:
   135             node = storageutil.hashrevisionsha1(text, p1, p2)
   135             node = storageutil.hashrevisionsha1(text, p1, p2)
   136 
   136 
   137         meta, metaoffset = storageutil.parsemeta(text)
   137         meta, metaoffset = storageutil.parsemeta(text)
   138         rawtext, validatehash = self._processflags(text, flags, 'write')
   138         rawtext, validatehash = self._processflagswrite(text, flags)
   139         return self.addrawrevision(rawtext, transaction, linknode, p1, p2,
   139         return self.addrawrevision(rawtext, transaction, linknode, p1, p2,
   140                                    node, flags, cachedelta,
   140                                    node, flags, cachedelta,
   141                                    _metatuple=(meta, metaoffset))
   141                                    _metatuple=(meta, metaoffset))
   142 
   142 
   143     def addrawrevision(self, rawtext, transaction, linknode, p1, p2, node,
   143     def addrawrevision(self, rawtext, transaction, linknode, p1, p2, node,