You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by rh...@apache.org on 2010/08/02 00:08:57 UTC
svn commit: r981328 - /subversion/trunk/subversion/libsvn_wc/deprecated.c
Author: rhuijben
Date: Sun Aug 1 22:08:57 2010
New Revision: 981328
URL: http://svn.apache.org/viewvc?rev=981328&view=rev
Log:
* subversion/libsvn_wc/deprecated.c
(svn_wc_prop_set3): Following up on r981319, ignore the same 'we can't
handle your propset' error as we ignore in libsvn_client here.
Modified:
subversion/trunk/subversion/libsvn_wc/deprecated.c
Modified: subversion/trunk/subversion/libsvn_wc/deprecated.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_wc/deprecated.c?rev=981328&r1=981327&r2=981328&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_wc/deprecated.c (original)
+++ subversion/trunk/subversion/libsvn_wc/deprecated.c Sun Aug 1 22:08:57 2010
@@ -2150,13 +2150,19 @@ svn_wc_prop_set3(const char *name,
{
svn_wc_context_t *wc_ctx;
const char *local_abspath;
+ svn_error_t *err;
SVN_ERR(svn_dirent_get_absolute(&local_abspath, path, pool));
SVN_ERR(svn_wc__context_create_with_db(&wc_ctx, NULL /* config */,
svn_wc__adm_get_db(adm_access), pool));
- SVN_ERR(svn_wc_prop_set4(wc_ctx, local_abspath, name, value, skip_checks,
- notify_func, notify_baton, pool));
+ err = svn_wc_prop_set4(wc_ctx, local_abspath, name, value, skip_checks,
+ notify_func, notify_baton, pool);
+
+ if (err && err->apr_err == SVN_ERR_WC_INVALID_SCHEDULE)
+ svn_error_clear(err);
+ else
+ SVN_ERR(err);
return svn_error_return(svn_wc_context_destroy(wc_ctx));
}