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/11/02 15:34:58 UTC

svn commit: r1030064 - /subversion/trunk/subversion/libsvn_wc/adm_ops.c

Author: julianfoad
Date: Tue Nov  2 14:34:58 2010
New Revision: 1030064

URL: http://svn.apache.org/viewvc?rev=1030064&view=rev
Log:
* subversion/libsvn_wc/adm_ops.c
  (svn_wc_add4): Remove a duplicate check, the same as 30 lines above.

Modified:
    subversion/trunk/subversion/libsvn_wc/adm_ops.c

Modified: subversion/trunk/subversion/libsvn_wc/adm_ops.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_wc/adm_ops.c?rev=1030064&r1=1030063&r2=1030064&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_wc/adm_ops.c (original)
+++ subversion/trunk/subversion/libsvn_wc/adm_ops.c Tue Nov  2 14:34:58 2010
@@ -1010,11 +1010,6 @@ svn_wc_add4(svn_wc_context_t *wc_ctx,
                                  inner_repos_root_url, inner_repos_uuid,
                                  repos_root_url, repos_uuid);
 
-      if (!svn_uri_is_ancestor(repos_root_url, copyfrom_url))
-        return svn_error_createf(SVN_ERR_UNSUPPORTED_FEATURE, NULL,
-                                 _("The URL '%s' is not in repository '%s'"),
-                                 copyfrom_url, repos_root_url);
-
       inner_url = svn_path_url_add_component2(repos_root_url, repos_relpath,
                                              scratch_pool);