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

[PATCH] - Inconsistency copying files to WC (Issue 1552)

From: S.Ramaswamy <ramaswamy_at_collab.net>
Date: 2004-03-11 06:28:28 CET

Sorry. Re-sending this as per HACKING file guidelines.

Log Message:
Finish issue #1552 -- Inconsistency copying files to WC.

* subversion/libsvn_client/copy.c
  (repos_to_wc_copy): Call the notification function when doing a
    repos-to-wc copy of a single file.

subversion/libsvn_client/copy.c
===================================================================
--- subversion/libsvn_client/copy.c (revision 8891)
+++ subversion/libsvn_client/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 06:28:44 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.