Author: stefan2
Date: Fri Jan 25 10:23:00 2013
New Revision: 1438422
URL: http://svn.apache.org/viewvc?rev=1438422&view=rev
Log:
On the fsfs-format7 branch: fix index storage for deltified hashes.
* subversion/libsvn_fs_fs/transaction.c
(write_hash_delta_rep): correctly determine the size of the rep
Modified:
subversion/branches/fsfs-format7/subversion/libsvn_fs_fs/transaction.c
Modified: subversion/branches/fsfs-format7/subversion/libsvn_fs_fs/transaction.c
URL:
http://svn.apache.org/viewvc/subversion/branches/fsfs-format7/subversion/libsvn_fs_fs/transaction.c?rev=1438422&r1=1438421&r2=1438422&view=diff
==============================================================================
--- subversion/branches/fsfs-format7/subversion/libsvn_fs_fs/transaction.c
(original)
+++ subversion/branches/fsfs-format7/subversion/libsvn_fs_fs/transaction.c Fri
Jan 25 10:23:00 2013
@@ -2469,7 +2469,8 @@ write_hash_delta_rep(representation_t *r
pool));
entry.offset = offset;
- entry.size = rep->size;
+ SVN_ERR(get_file_offset(&offset, file, pool));
+ entry.size = offset - entry.offset;
entry.type = SVN_FS_FS__ITEM_TYPE_REP;
entry.revision = SVN_INVALID_REVNUM;
entry.item_index = rep->item_index;