You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by ju...@apache.org on 2014/04/09 12:22:28 UTC
svn commit: r1585927 -
/subversion/trunk/subversion/libsvn_repos/load-fs-vtable.c
Author: julianfoad
Date: Wed Apr 9 10:22:27 2014
New Revision: 1585927
URL: http://svn.apache.org/r1585927
Log:
* subversion/libsvn_repos/load-fs-vtable.c
(revision_baton): Document two fields.
(new_revision_record): Fix typo in comment.
Modified:
subversion/trunk/subversion/libsvn_repos/load-fs-vtable.c
Modified: subversion/trunk/subversion/libsvn_repos/load-fs-vtable.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_repos/load-fs-vtable.c?rev=1585927&r1=1585926&r2=1585927&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_repos/load-fs-vtable.c (original)
+++ subversion/trunk/subversion/libsvn_repos/load-fs-vtable.c Wed Apr 9 10:22:27 2014
@@ -91,12 +91,14 @@ struct parse_baton
struct revision_baton
{
+ /* rev num from dump file */
svn_revnum_t rev;
svn_fs_txn_t *txn;
svn_fs_root_t *txn_root;
const svn_string_t *datestamp;
+ /* (rev num from dump file) minus (rev num to be committed) */
apr_int32_t rev_offset;
svn_boolean_t skipped;
@@ -519,7 +521,7 @@ new_revision_record(void **revision_bato
pb->notify_func(pb->notify_baton, pb->notify, rb->pool);
}
- /* If we're parsing revision 0, only the revision are (possibly)
+ /* If we're parsing revision 0, only the revision props are (possibly)
interesting to us: when loading the stream into an empty
filesystem, then we want new filesystem's revision 0 to have the
same props. Otherwise, we just ignore revision 0 in the stream. */