tests/test-revlog-raw.py
changeset 48529 c514936d92b4
parent 47214 906a7bcaac86
child 48875 6000f5b25c9b
equal deleted inserted replaced
48528:75fc2537d93c 48529:c514936d92b4
   323             rawtext = writeprocessor(None, text)[0]
   323             rawtext = writeprocessor(None, text)[0]
   324         else:
   324         else:
   325             rawtext = text
   325             rawtext = text
   326         if rlog.rawsize(rev) != len(rawtext):
   326         if rlog.rawsize(rev) != len(rawtext):
   327             abort('rev %d: wrong rawsize' % rev)
   327             abort('rev %d: wrong rawsize' % rev)
   328         if rlog.revision(rev, raw=False) != text:
   328         if rlog.revision(rev) != text:
   329             abort('rev %d: wrong text' % rev)
   329             abort('rev %d: wrong text' % rev)
   330         if rlog.rawdata(rev) != rawtext:
   330         if rlog.rawdata(rev) != rawtext:
   331             abort('rev %d: wrong rawtext' % rev)
   331             abort('rev %d: wrong rawtext' % rev)
   332         result.append((text, rawtext))
   332         result.append((text, rawtext))
   333 
   333