[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Question about packed revprops structure

From: Daniel SHahaf <danielsh_at_apache.org>
Date: Sat, 2 Jan 2016 12:52:04 +0000

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



> Thank you in advance for your help
> Regards
> Yves
Received on 2016-01-02 19:45:51 CET

This is an archived mail posted to the Subversion Dev mailing list.