subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hwri...@apache.org
Subject svn commit: r1129910 - in /subversion/trunk/subversion: include/private/svn_wc_private.h libsvn_client/externals.c libsvn_wc/externals.c
Date Tue, 31 May 2011 20:46:48 GMT
Author: hwright
Date: Tue May 31 20:46:47 2011
New Revision: 1129910

URL: http://svn.apache.org/viewvc?rev=1129910&view=rev
Log:
Remove an unused parameter, and with it a useless assignment.

* subversion/include/private/svn_wc_private.h
  (svn_wc__crawl_file_external): Remove wri_abspath param.

* subversion/libsvn_wc/externals.c
  (svn_wc__crawl_file_external): Remove wri_abspath param and assignment.

* subversion/libsvn_client/externals.c
  (switch_file_external): Update caller.

Modified:
    subversion/trunk/subversion/include/private/svn_wc_private.h
    subversion/trunk/subversion/libsvn_client/externals.c
    subversion/trunk/subversion/libsvn_wc/externals.c

Modified: subversion/trunk/subversion/include/private/svn_wc_private.h
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/include/private/svn_wc_private.h?rev=1129910&r1=1129909&r2=1129910&view=diff
==============================================================================
--- subversion/trunk/subversion/include/private/svn_wc_private.h (original)
+++ subversion/trunk/subversion/include/private/svn_wc_private.h Tue May 31 20:46:47 2011
@@ -87,7 +87,6 @@ svn_wc__get_file_external_editor(const s
 svn_error_t *
 svn_wc__crawl_file_external(svn_wc_context_t *wc_ctx,
                             const char *local_abspath,
-                            const char *wri_abspath,
                             const svn_ra_reporter3_t *reporter,
                             void *report_baton,
                             svn_boolean_t restore_files,

Modified: subversion/trunk/subversion/libsvn_client/externals.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_client/externals.c?rev=1129910&r1=1129909&r2=1129910&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_client/externals.c (original)
+++ subversion/trunk/subversion/libsvn_client/externals.c Tue May 31 20:46:47 2011
@@ -496,7 +496,6 @@ switch_file_external(const char *local_a
                             switch_editor, switch_baton, subpool));
 
   SVN_ERR(svn_wc__crawl_file_external(ctx->wc_ctx, local_abspath,
-                                      definition_abspath /* wri_abspath */,
                                       reporter, report_baton,
                                       TRUE,  use_commit_times,
                                       ctx->cancel_func, ctx->cancel_baton,

Modified: subversion/trunk/subversion/libsvn_wc/externals.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_wc/externals.c?rev=1129910&r1=1129909&r2=1129910&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_wc/externals.c (original)
+++ subversion/trunk/subversion/libsvn_wc/externals.c Tue May 31 20:46:47 2011
@@ -943,7 +943,6 @@ svn_wc__get_file_external_editor(const s
 svn_error_t *
 svn_wc__crawl_file_external(svn_wc_context_t *wc_ctx,
                             const char *local_abspath,
-                            const char *wri_abspath,
                             const svn_ra_reporter3_t *reporter,
                             void *report_baton,
                             svn_boolean_t restore_files,
@@ -963,9 +962,6 @@ svn_wc__crawl_file_external(svn_wc_conte
   const char *repos_relpath;
   svn_boolean_t update_root;
 
-  if (! wri_abspath)
-    wri_abspath = svn_dirent_dirname(local_abspath, scratch_pool);
-
   err = svn_wc__db_base_get_info(NULL, &kind, &revision,
                                  &repos_relpath, &repos_root_url, NULL, NULL,
                                  NULL, NULL, NULL, NULL, NULL, &lock,



Mime
View raw message