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 4712F4F55 for ; Fri, 17 Jun 2011 10:39:17 +0000 (UTC) Received: (qmail 23915 invoked by uid 500); 17 Jun 2011 10:39:17 -0000 Delivered-To: apmail-subversion-commits-archive@subversion.apache.org Received: (qmail 23893 invoked by uid 500); 17 Jun 2011 10:39:17 -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 23886 invoked by uid 99); 17 Jun 2011 10:39:17 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 17 Jun 2011 10:39:17 +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; Fri, 17 Jun 2011 10:39:16 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 0678F23889B2; Fri, 17 Jun 2011 10:38:56 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1136839 - /subversion/trunk/subversion/libsvn_ra_serf/commit.c Date: Fri, 17 Jun 2011 10:38:55 -0000 To: commits@subversion.apache.org From: rhuijben@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20110617103856.0678F23889B2@eris.apache.org> Author: rhuijben Date: Fri Jun 17 10:38:55 2011 New Revision: 1136839 URL: http://svn.apache.org/viewvc?rev=1136839&view=rev Log: Just use the default implementation (which returns OK like the other ra layers) instead of using two statuc functions that just malfunction. * subversion/libsvn_ra_serf/commit.c (absent_directory, absent_file): Remove functions. (svn_ra_serf__get_commit_editor): Update caller. Modified: subversion/trunk/subversion/libsvn_ra_serf/commit.c Modified: subversion/trunk/subversion/libsvn_ra_serf/commit.c URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_ra_serf/commit.c?rev=1136839&r1=1136838&r2=1136839&view=diff ============================================================================== --- subversion/trunk/subversion/libsvn_ra_serf/commit.c (original) +++ subversion/trunk/subversion/libsvn_ra_serf/commit.c Fri Jun 17 10:38:55 2011 @@ -1845,18 +1845,6 @@ close_directory(void *dir_baton, } static svn_error_t * -absent_directory(const char *path, - void *parent_baton, - apr_pool_t *pool) -{ -#if 0 - dir_context_t *parent = parent_baton; -#endif - - SVN_ERR_MALFUNCTION(); -} - -static svn_error_t * add_file(const char *path, void *parent_baton, const char *copy_path, @@ -2196,18 +2184,6 @@ close_file(void *file_baton, } static svn_error_t * -absent_file(const char *path, - void *parent_baton, - apr_pool_t *pool) -{ -#if 0 - dir_context_t *parent = parent_baton; -#endif - - SVN_ERR_MALFUNCTION(); -} - -static svn_error_t * close_edit(void *edit_baton, apr_pool_t *pool) { @@ -2368,13 +2344,11 @@ svn_ra_serf__get_commit_editor(svn_ra_se editor->open_directory = open_directory; editor->change_dir_prop = change_dir_prop; editor->close_directory = close_directory; - editor->absent_directory = absent_directory; editor->add_file = add_file; editor->open_file = open_file; editor->apply_textdelta = apply_textdelta; editor->change_file_prop = change_file_prop; editor->close_file = close_file; - editor->absent_file = absent_file; editor->close_edit = close_edit; editor->abort_edit = abort_edit;