Author: hwright
Date: Sat Apr 14 19:16:51 2012
New Revision: 1326181
URL: http://svn.apache.org/viewvc?rev=1326181&view=rev
Log:
On the ev2-export branch:
* subversion/libsvn_client/copy.c
(repos_to_repos_copy): Once more, resurrect the path validity check.
Modified:
subversion/branches/ev2-export/subversion/libsvn_client/copy.c
Modified: subversion/branches/ev2-export/subversion/libsvn_client/copy.c
URL:
http://svn.apache.org/viewvc/subversion/branches/ev2-export/subversion/libsvn_client/copy.c?rev=1326181&r1=1326180&r2=1326181&view=diff
==============================================================================
--- subversion/branches/ev2-export/subversion/libsvn_client/copy.c (original)
+++ subversion/branches/ev2-export/subversion/libsvn_client/copy.c Sat Apr 14
19:16:51 2012
@@ -771,6 +771,8 @@ repos_to_repos_copy(const apr_array_head
pair->dst_abspath_or_url,
pool);
info->src_revnum = pair->src_revnum;
+ SVN_ERR(svn_path_check_valid(info->dst_relpath, pool));
+ SVN_ERR(svn_path_check_valid(info->src_relpath, pool));
/* Verify that the source exists and the proposed destination does not,
and toss what we've learned into the INFO array. (For copies --