You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by ph...@apache.org on 2011/05/11 17:46:01 UTC

svn commit: r1101927 - /subversion/trunk/subversion/libsvn_wc/wc_db.c

Author: philip
Date: Wed May 11 15:46:01 2011
New Revision: 1101927

URL: http://svn.apache.org/viewvc?rev=1101927&view=rev
Log:
* subversion/libsvn_wc/wc_db.c
  (bump_node_revision): Remove a base_get_info call that duplicated
   an earlier call.

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

Modified: subversion/trunk/subversion/libsvn_wc/wc_db.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_wc/wc_db.c?rev=1101927&r1=1101926&r2=1101927&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_wc/wc_db.c (original)
+++ subversion/trunk/subversion/libsvn_wc/wc_db.c Wed May 11 15:46:01 2011
@@ -8784,18 +8784,8 @@ bump_node_revision(svn_wc__db_wcroot_t *
                                              scratch_pool));
     }
 
-  if (new_repos_relpath != NULL)
-    {
-      if (!repos_relpath)
-        SVN_ERR(base_get_info(NULL, NULL, NULL, &repos_relpath, &repos_id,
-                              NULL, NULL, NULL, NULL, NULL,
-                              NULL, NULL, NULL, NULL, NULL,
-                              wcroot, local_relpath,
-                              scratch_pool, scratch_pool));
-
-      if (strcmp(repos_relpath, new_repos_relpath))
-          set_repos_relpath = TRUE;
-    }
+  if (new_repos_relpath != NULL && strcmp(repos_relpath, new_repos_relpath))
+    set_repos_relpath = TRUE;
 
   if (set_repos_relpath
       || (SVN_IS_VALID_REVNUM(new_rev) && new_rev != revision))