hgext/remotefilelog/remotefilelog.py
changeset 46722 3d740058b467
parent 44579 9e63108123a4
child 46724 a41565bef69f
equal deleted inserted replaced
46721:358737abeeef 46722:3d740058b467
   153         sidedata=None,
   153         sidedata=None,
   154     ):
   154     ):
   155         # text passed to "addrevision" includes hg filelog metadata header
   155         # text passed to "addrevision" includes hg filelog metadata header
   156         if node is None:
   156         if node is None:
   157             node = storageutil.hashrevisionsha1(text, p1, p2)
   157             node = storageutil.hashrevisionsha1(text, p1, p2)
   158         if sidedata is None:
       
   159             sidedata = {}
       
   160 
   158 
   161         meta, metaoffset = storageutil.parsemeta(text)
   159         meta, metaoffset = storageutil.parsemeta(text)
   162         rawtext, validatehash = flagutil.processflagswrite(
   160         rawtext, validatehash = flagutil.processflagswrite(
   163             self, text, flags, sidedata=sidedata
   161             self,
       
   162             text,
       
   163             flags,
   164         )
   164         )
   165         return self.addrawrevision(
   165         return self.addrawrevision(
   166             rawtext,
   166             rawtext,
   167             transaction,
   167             transaction,
   168             linknode,
   168             linknode,