You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by ju...@apache.org on 2010/12/08 13:16:52 UTC
svn commit: r1043380 - /subversion/trunk/subversion/svn/copy-cmd.c
Author: julianfoad
Date: Wed Dec 8 12:16:51 2010
New Revision: 1043380
URL: http://svn.apache.org/viewvc?rev=1043380&view=rev
Log:
* subversion/svn/copy-cmd.c
(svn_cl__copy): Update and improve a comment. Thanks to Noorul for noticing
that the reference to setup_copy() was outdated since r873134.
Modified:
subversion/trunk/subversion/svn/copy-cmd.c
Modified: subversion/trunk/subversion/svn/copy-cmd.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/svn/copy-cmd.c?rev=1043380&r1=1043379&r2=1043380&view=diff
==============================================================================
--- subversion/trunk/subversion/svn/copy-cmd.c (original)
+++ subversion/trunk/subversion/svn/copy-cmd.c Wed Dec 8 12:16:51 2010
@@ -78,8 +78,10 @@ svn_cl__copy(apr_getopt_t *os,
SVN_ERR(svn_cl__eat_peg_revisions(&targets, targets, pool));
- /* Figure out which type of trace editor to use.
- If the src_paths are not homogeneous, setup_copy will return an error. */
+ /* Figure out which type of notification to use.
+ (There is no need to check that the src paths are homogeneous;
+ svn_client_copy6() through its subroutine try_copy() will return an
+ error if they are not.) */
src_path = APR_ARRAY_IDX(targets, 0, const char *);
srcs_are_urls = svn_path_is_url(src_path);
dst_path = APR_ARRAY_IDX(targets, targets->nelts - 1, const char *);