/[Apache-SVN]
ViewVC logotype

Revision 1816348


Jump to revision: Previous Next
Author: kotkov
Date: Sat Nov 25 20:23:26 2017 UTC (6 years, 4 months ago)
Changed paths: 1
Log Message:
fsfs: Don't store SHA1 for property representations in format 8.

This is an extended fix for issues #4623 and #4700 using the format
groundwork (ability to have optional "-" values in the representation
strings) added in r1816347.

While we don't need to serialize SHA1 for props (it is not used), older
formats can only have representation strings that either have both the
SHA1 value *and* the uniquifier, or don't have them at all.  For such
formats, both values get written to the disk only if the SHA1 is present.

We cannot omit the uniquifier, as doing so breaks svn_fs_props_changed()
for properties with shared representations, as described in the referenced
issues.  Therefore, we skip writing SHA1, but only for the new format 8
where this dependency is untied and we can have the uniquifier written
to the disk without the SHA1.

* subversion/libsvn_fs_fs/transaction.c
  (write_final_rev): Don't store SHA1 for property representations
   in format 8.


Changed paths

Path Details
Directorysubversion/trunk/subversion/libsvn_fs_fs/transaction.c modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26