You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by st...@apache.org on 2013/05/12 00:50:57 UTC

svn commit: r1481444 - /subversion/branches/fsfs-format7/subversion/libsvn_fs_fs/cached_data.c

Author: stefan2
Date: Sat May 11 22:50:57 2013
New Revision: 1481444

URL: http://svn.apache.org/r1481444
Log:
On the fsfs-format7 branch: Fix the issue of missing items
in the l2p index of some pack files.

* subversion/libsvn_fs_fs/pack.c
  (write_l2p_index): skip empty entries and thus don't use them
   when counting for all entries that need to be written to l2p

Modified:
    subversion/branches/fsfs-format7/subversion/libsvn_fs_fs/cached_data.c

Modified: subversion/branches/fsfs-format7/subversion/libsvn_fs_fs/cached_data.c
URL: http://svn.apache.org/viewvc/subversion/branches/fsfs-format7/subversion/libsvn_fs_fs/cached_data.c?rev=1481444&r1=1481443&r2=1481444&view=diff
==============================================================================
--- subversion/branches/fsfs-format7/subversion/libsvn_fs_fs/cached_data.c (original)
+++ subversion/branches/fsfs-format7/subversion/libsvn_fs_fs/cached_data.c Sat May 11 22:50:57 2013
@@ -940,7 +940,7 @@ struct rep_read_baton
 static window_cache_key_t *
 get_window_key(window_cache_key_t *key, rep_state_t *rs)
 {
-  key->revision = rs->revision;
+  key->revision = (apr_uint32_t)rs->revision;
   key->item_index = rs->item_index;
   key->chunk_index = rs->chunk_index;