subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1152035 - /subversion/trunk/subversion/libsvn_wc/wc_db.c
Date Thu, 28 Jul 2011 23:13:54 GMT
Author: stsp
Date: Thu Jul 28 23:13:53 2011
New Revision: 1152035

URL: http://svn.apache.org/viewvc?rev=1152035&view=rev
Log:
* subversion/libsvn_wc/wc_db.c
  (scan_addition_txn): Always initialise the MOVED_FROM_RELPATH and
   DELETE_OP_ROOT_RELPATH output parameters. Should fix failing tests
   on the windows buildbot.

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

Modified: subversion/trunk/subversion/libsvn_wc/wc_db.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_wc/wc_db.c?rev=1152035&r1=1152034&r2=1152035&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_wc/wc_db.c (original)
+++ subversion/trunk/subversion/libsvn_wc/wc_db.c Thu Jul 28 23:13:53 2011
@@ -9127,6 +9127,10 @@ scan_addition_txn(void *baton,
     *sab->original_repos_id = INVALID_REPOS_ID;
   if (sab->original_revision)
     *sab->original_revision = SVN_INVALID_REVNUM;
+  if (sab->moved_from_relpath)
+    *sab->moved_from_relpath = NULL;
+  if (sab->delete_op_root_relpath)
+    *sab->delete_op_root_relpath = NULL;
 
   {
     svn_sqlite__stmt_t *stmt;



Mime
View raw message