subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1406571 - /subversion/trunk/subversion/libsvn_wc/wc_db_update_move.c
Date Wed, 07 Nov 2012 11:38:50 GMT
Author: stsp
Date: Wed Nov  7 11:38:50 2012
New Revision: 1406571

URL: http://svn.apache.org/viewvc?rev=1406571&view=rev
Log:
* subversion/libsvn_wc/wc_db_update_move.c
  (tc_editor_alter_file): Rename original_revision to move_dst_revision for
   cosmetic reasons.

Modified:
    subversion/trunk/subversion/libsvn_wc/wc_db_update_move.c

Modified: subversion/trunk/subversion/libsvn_wc/wc_db_update_move.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_wc/wc_db_update_move.c?rev=1406571&r1=1406570&r2=1406571&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_wc/wc_db_update_move.c (original)
+++ subversion/trunk/subversion/libsvn_wc/wc_db_update_move.c Wed Nov  7 11:38:50 2012
@@ -134,17 +134,17 @@ tc_editor_alter_file(void *baton,
   struct tc_editor_baton *b = baton;
   const svn_checksum_t *move_dst_checksum;
   const char *original_repos_relpath;
-  svn_revnum_t original_revision;
+  svn_revnum_t move_dst_revision;
   svn_kind_t kind;
 
   /* Get kind, revision, and checksum of the moved-here node. */
-  SVN_ERR(svn_wc__db_depth_get_info(NULL, &kind, &original_revision,
+  SVN_ERR(svn_wc__db_depth_get_info(NULL, &kind, &move_dst_revision,
                                     &original_repos_relpath, NULL, NULL, NULL,
                                     NULL, NULL, &move_dst_checksum, NULL,
                                     NULL, b->wcroot, dst_relpath,
                                     relpath_depth(b->move_root_dst_relpath),
                                     scratch_pool, scratch_pool));
-  SVN_ERR_ASSERT(original_revision == expected_move_dst_revision);
+  SVN_ERR_ASSERT(move_dst_revision == expected_move_dst_revision);
   SVN_ERR_ASSERT(kind == svn_kind_file);
 
   /* ### what if checksum kind differs?*/



Mime
View raw message