Yves Martin wrote on Sat, Jan 02, 2016 at 12:29:54 +0100:
>  Hello,
> 
> I am reading section "Packing revision properties (format 6+)" of file
> https://svn.apache.org/repos/asf/subversion/trunk/subversion/libsvn_fs_fs/structure
> 
> but I do not find explanation about the two first bytes of a packed
> revprops corresponds to. They are visible just before the
> "header" (first revision, number of revision, and each prop set sizes)
> 

As that file says:

  We always apply data compression to the pack file - using the
  SVN_DELTA_COMPRESSION_LEVEL_NONE level if compression is disabled.
  (Note that compression at SVN_DELTA_COMPRESSION_LEVEL_NONE is not
  a no-op stream transformation although most of the data will remain
  human readable.)

I assume those two bytes are the compression artifact, i.e., they won't
be visible if you read the file through svn_stream_compressed().  See
libsvn_subr/compress.c:zlib_encode().

Cheers,

Daniel

> Thank you in advance for your help
> Regards
> Yves
> 
> 
> 

Reply via email to