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/01/30 11:42:57 UTC

svn commit: r1440340 - /subversion/trunk/subversion/libsvn_wc/wc_db_update_move.c

Author: stsp
Date: Wed Jan 30 10:42:57 2013
New Revision: 1440340

URL: http://svn.apache.org/viewvc?rev=1440340&view=rev
Log:
Add some missing notifications to the update-move editor.
Not quite correct yet as it doesn't notify conflicts.

* subversion/libsvn_wc/wc_db_update_move.c
  (tc_editor_add_directory, tc_editor_add_file): Notify added files/dirs.

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=1440340&r1=1440339&r2=1440340&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_wc/wc_db_update_move.c (original)
+++ subversion/trunk/subversion/libsvn_wc/wc_db_update_move.c Wed Jan 30 10:42:57 2013
@@ -435,6 +435,12 @@ tc_editor_add_directory(void *baton,
       break;
     }
 
+  if (b->notify_func)
+    SVN_ERR(update_move_list_add(b->wcroot, relpath,
+                                 svn_wc_notify_update_add,
+                                 svn_node_dir,
+                                 svn_wc_notify_state_inapplicable,
+                                 svn_wc_notify_state_inapplicable));
   return SVN_NO_ERROR;
 }
 
@@ -492,6 +498,12 @@ tc_editor_add_file(void *baton,
   SVN_ERR(svn_wc__db_wq_add(b->db, b->wcroot->abspath, work_item,
                             scratch_pool));
 
+  if (b->notify_func)
+    SVN_ERR(update_move_list_add(b->wcroot, relpath,
+                                 svn_wc_notify_update_add,
+                                 svn_node_file,
+                                 svn_wc_notify_state_inapplicable,
+                                 svn_wc_notify_state_inapplicable));
   return SVN_NO_ERROR;
 }