[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

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

From: <ramaswamy_at_collab.net>
Date: 2004-03-11 02:07:50 CET

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
Received on Thu Mar 11 02:08:05 2004

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.