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/10/25 15:31:35 UTC

svn commit: r1535729 - /subversion/branches/log-addressing/subversion/libsvn_fs_fs/rev_file.c

Author: stefan2
Date: Fri Oct 25 13:31:34 2013
New Revision: 1535729

URL: http://svn.apache.org/r1535729
Log:
On the log-addressing branch:  Fix rev / pack file access when
the FS got packed since the last access.

* subversion/libsvn_fs_fs/rev_file.c
  (open_pack_or_rev_file): once we managed to open a pack / rev file,
                           update the "is-packed" flag as used for this file

Modified:
    subversion/branches/log-addressing/subversion/libsvn_fs_fs/rev_file.c

Modified: subversion/branches/log-addressing/subversion/libsvn_fs_fs/rev_file.c
URL: http://svn.apache.org/viewvc/subversion/branches/log-addressing/subversion/libsvn_fs_fs/rev_file.c?rev=1535729&r1=1535728&r2=1535729&view=diff
==============================================================================
--- subversion/branches/log-addressing/subversion/libsvn_fs_fs/rev_file.c (original)
+++ subversion/branches/log-addressing/subversion/libsvn_fs_fs/rev_file.c Fri Oct 25 13:31:34 2013
@@ -74,6 +74,7 @@ open_pack_or_rev_file(svn_fs_fs__revisio
         {
           file->file = apr_file;
           file->stream = svn_stream_from_aprfile2(apr_file, TRUE, pool);
+          file->is_packed = svn_fs_fs__is_packed_rev(fs, rev);
 
           return SVN_NO_ERROR;
         }