Author: rhuijben
Date: Thu May  5 22:22:32 2011
New Revision: 1099984

URL: http://svn.apache.org/viewvc?rev=1099984&view=rev
Log:
* subversion/svn/commit-cmd.c
  (svn_cl__commit): Remove the specialized handling of an error code that we
    never return on trunk, 1.6.x and 1.5.x.

Modified:
    subversion/trunk/subversion/svn/commit-cmd.c

Modified: subversion/trunk/subversion/svn/commit-cmd.c
URL: 
http://svn.apache.org/viewvc/subversion/trunk/subversion/svn/commit-cmd.c?rev=1099984&r1=1099983&r2=1099984&view=diff
==============================================================================
--- subversion/trunk/subversion/svn/commit-cmd.c (original)
+++ subversion/trunk/subversion/svn/commit-cmd.c Thu May  5 22:22:32 2011
@@ -187,20 +187,6 @@ svn_cl__commit(apr_getopt_t *os,
                            NULL,
                            ctx,
                            pool);
-  if (err)
-    {
-      svn_error_t *root_err = svn_error_root_cause(err);
-      if (root_err->apr_err == SVN_ERR_UNKNOWN_CHANGELIST)
-        {
-          /* Strip any errors wrapped around this root cause.  Note
-             that this handling differs from that of any other
-             commands, because of the way 'commit' internally harvests
-             its list of committables. */
-          root_err = svn_error_dup(root_err);
-          svn_error_clear(err);
-          err = root_err;
-        }
-    }
   SVN_ERR(svn_cl__cleanup_log_msg(ctx->log_msg_baton3, err, pool));
 
   return SVN_NO_ERROR;


Reply via email to