Return-Path: X-Original-To: apmail-subversion-commits-archive@minotaur.apache.org Delivered-To: apmail-subversion-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C6556C439 for ; Sat, 30 Jun 2012 16:00:52 +0000 (UTC) Received: (qmail 25174 invoked by uid 500); 30 Jun 2012 16:00:52 -0000 Delivered-To: apmail-subversion-commits-archive@subversion.apache.org Received: (qmail 25152 invoked by uid 500); 30 Jun 2012 16:00:52 -0000 Mailing-List: contact commits-help@subversion.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@subversion.apache.org Delivered-To: mailing list commits@subversion.apache.org Received: (qmail 25140 invoked by uid 99); 30 Jun 2012 16:00:52 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 30 Jun 2012 16:00:52 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 30 Jun 2012 16:00:51 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 736082388B43; Sat, 30 Jun 2012 16:00:31 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1355753 - /subversion/trunk/subversion/libsvn_wc/update_editor.c Date: Sat, 30 Jun 2012 16:00:30 -0000 To: commits@subversion.apache.org From: rhuijben@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20120630160031.736082388B43@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: rhuijben Date: Sat Jun 30 16:00:29 2012 New Revision: 1355753 URL: http://svn.apache.org/viewvc?rev=1355753&view=rev Log: Remove two more unused arguments in the update editor tree conflict code. * subversion/libsvn_wc/update_editor.c (check_tree_conflict): Remove two unused arguments. (delete_entry, add_directory, open_directory, add_file, open_file): Update callers. Modified: subversion/trunk/subversion/libsvn_wc/update_editor.c Modified: subversion/trunk/subversion/libsvn_wc/update_editor.c URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_wc/update_editor.c?rev=1355753&r1=1355752&r2=1355753&view=diff ============================================================================== --- subversion/trunk/subversion/libsvn_wc/update_editor.c (original) +++ subversion/trunk/subversion/libsvn_wc/update_editor.c Sat Jun 30 16:00:29 2012 @@ -1430,15 +1430,6 @@ create_tree_conflict(svn_skel_t **pconfl * tree conflict info is returned in *PCONFLICT. PCONFLICT must be non-NULL, * while *PCONFLICT is always overwritten. * - * THEIR_NODE_KIND should be the node kind reflected by the incoming edit - * function. E.g. dir_opened() should pass svn_node_dir, etc. - * In some cases of delete, svn_node_none may be used here. - * - * THEIR_RELPATH should be the involved node's repository-relative path on the - * source-right side, the side that the target should become after the update. - * Simply put, that's the URL obtained from the node's dir_baton->new_relpath - * or file_baton->new_relpath (but it's more complex for a delete). - * * The tree conflict is allocated in RESULT_POOL. Temporary allocations use * SCRACTH_POOl. */ @@ -1450,8 +1441,6 @@ check_tree_conflict(svn_skel_t **pconfli svn_kind_t working_kind, svn_boolean_t exists_in_repos, svn_wc_conflict_action_t action, - svn_node_kind_t their_node_kind, - const char *their_relpath, const char *moved_to_abspath, apr_pool_t *result_pool, apr_pool_t *scratch_pool) @@ -1461,8 +1450,6 @@ check_tree_conflict(svn_skel_t **pconfli svn_boolean_t modified = FALSE; svn_boolean_t all_mods_are_deletes = FALSE; - SVN_ERR_ASSERT(their_relpath != NULL); - *pconflict = NULL; /* Find out if there are any local changes to this node that may @@ -1839,9 +1826,8 @@ delete_entry(const char *path, { SVN_ERR(check_tree_conflict(&tree_conflict, eb, local_abspath, status, kind, TRUE, - svn_wc_conflict_action_delete, svn_node_none, - repos_relpath, moved_to_abspath, - pb->pool, scratch_pool)); + svn_wc_conflict_action_delete, + moved_to_abspath, pb->pool, scratch_pool)); } if (tree_conflict != NULL) @@ -2247,7 +2233,6 @@ add_directory(const char *path, db->local_abspath, status, wc_kind, FALSE, svn_wc_conflict_action_add, - svn_node_dir, db->new_relpath, NULL, pool, pool)); } @@ -2473,9 +2458,8 @@ open_directory(const char *path, if (!db->shadowed) SVN_ERR(check_tree_conflict(&tree_conflict, eb, db->local_abspath, status, wc_kind, TRUE, - svn_wc_conflict_action_edit, svn_node_dir, - db->new_relpath, db->moved_to_abspath, - db->pool, pool)); + svn_wc_conflict_action_edit, + db->moved_to_abspath, db->pool, pool)); /* Remember the roots of any locally deleted trees. */ if (tree_conflict != NULL) @@ -3422,8 +3406,7 @@ add_file(const char *path, SVN_ERR(check_tree_conflict(&tree_conflict, eb, fb->local_abspath, status, wc_kind, FALSE, - svn_wc_conflict_action_add, - svn_node_file, fb->new_relpath, NULL, + svn_wc_conflict_action_add, NULL, scratch_pool, scratch_pool)); } @@ -3597,9 +3580,8 @@ open_file(const char *path, if (!fb->shadowed) SVN_ERR(check_tree_conflict(&tree_conflict, eb, fb->local_abspath, status, wc_kind, TRUE, - svn_wc_conflict_action_edit, svn_node_file, - fb->new_relpath, fb->moved_to_abspath, - fb->pool, scratch_pool)); + svn_wc_conflict_action_edit, + fb->moved_to_abspath, fb->pool, scratch_pool)); /* Is this path the victim of a newly-discovered tree conflict? */ if (tree_conflict != NULL)