You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by "S.Ramaswamy" <ra...@collab.net> on 2004/03/11 05:28:28 UTC

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

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

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

Posted by Julian Foad <ju...@btopenworld.com>.
S.Ramaswamy wrote:
> Sorry.  Re-sending this as per HACKING file guidelines.

Thanks.  I was the one who raised the issue.  I am going off line for a few days now, but will try to look at it next week.  Maybe somebody else will get to it before me.

- Julian


> 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