subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rhuij...@apache.org
Subject svn commit: r1136532 - /subversion/trunk/subversion/libsvn_client/commit_util.c
Date Thu, 16 Jun 2011 16:25:43 GMT
Author: rhuijben
Date: Thu Jun 16 16:25:43 2011
New Revision: 1136532

URL: http://svn.apache.org/viewvc?rev=1136532&view=rev
Log:
* subversion/libsvn_client/commit_util.c
  (svn_client__harvest_committables): In wc-ng every node has a url, so there
    is no reason to check for it on every commit target.

Modified:
    subversion/trunk/subversion/libsvn_client/commit_util.c

Modified: subversion/trunk/subversion/libsvn_client/commit_util.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_client/commit_util.c?rev=1136532&r1=1136531&r2=1136532&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_client/commit_util.c (original)
+++ subversion/trunk/subversion/libsvn_client/commit_util.c Thu Jun 16 16:25:43 2011
@@ -955,7 +955,7 @@ svn_client__harvest_committables(svn_cli
 
   for (i = 0; i < targets->nelts; ++i)
     {
-      const char *repos_relpath, *target_abspath;
+      const char *target_abspath;
       svn_boolean_t is_added;
       svn_node_kind_t kind;
       const char *repos_root_url;
@@ -996,15 +996,6 @@ svn_client__harvest_committables(svn_cli
                                           target_abspath,
                                           result_pool, iterpool));
 
-      SVN_ERR(svn_wc__node_get_repos_relpath(&repos_relpath, ctx->wc_ctx,
-                                             target_abspath,
-                                             iterpool, iterpool));
-      if (! repos_relpath)
-        return svn_error_createf(SVN_ERR_WC_CORRUPT, NULL,
-                                 _("Entry for '%s' has no URL"),
-                                 svn_dirent_local_style(target_abspath,
-                                                        iterpool));
-
       /* Handle an added/replaced node. */
       SVN_ERR(svn_wc__node_is_added(&is_added, ctx->wc_ctx, target_abspath,
                                     iterpool));



Mime
View raw message