You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by ra...@collab.net on 2004/03/11 01:07:50 UTC

[Patch] fix for "Inconsistency copying files to WC" (Issue 1552)

I am completely new to SVN, still fumbling my way around the code. Can
someone please check this patch ?  I am not sure whether to use
"svn_wc_notify_update_add" or "svn_wc_notify_add".

Thanks
Ramaswamy


Index: copy.c
===================================================================
--- copy.c      (revision 8891)
+++ copy.c      (working copy)
@@ -965,8 +965,18 @@
                 same_repositories ? src_url : NULL,
                 same_repositories ? src_revnum : SVN_INVALID_REVNUM,
                 pool));
+
+      if (ctx->notify_func != NULL)
+        (*ctx->notify_func) (ctx->notify_baton, dst_path,
+                             svn_wc_notify_update_add,
+                             src_kind,
+                             NULL,
+                             svn_wc_notify_state_unknown,
+                             svn_wc_notify_state_unknown,
+                             SVN_INVALID_REVNUM);
+
     }
-
+
   SVN_ERR (svn_wc_adm_close (adm_access));

   return SVN_NO_ERROR;




---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org