You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by ju...@apache.org on 2011/04/13 13:28:14 UTC

svn commit: r1091750 - /subversion/trunk/subversion/include/svn_wc.h

Author: julianfoad
Date: Wed Apr 13 11:28:14 2011
New Revision: 1091750

URL: http://svn.apache.org/viewvc?rev=1091750&view=rev
Log:
Correct a doc string that wrongly promised a particular error code.

* subversion/include/svn_wc.h
  (svn_wc_set_changelist2): Don't specify what error code will be returned
    when the target is not a directory. Ever since the doc string was
    created for svn_wc_set_changelist() in v1.5, it said, "If @a
    local_abspath is a directory, return #SVN_ERR_UNSUPPORTED_FEATURE." But
    the function always returned #SVN_ERR_CLIENT_IS_DIRECTORY, despite being
    in libsvn_wc. As the callers clearly don't need this promise, let's not
    make it, and later we may change the returned error code to something
    more suitable.

Modified:
    subversion/trunk/subversion/include/svn_wc.h

Modified: subversion/trunk/subversion/include/svn_wc.h
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/include/svn_wc.h?rev=1091750&r1=1091749&r2=1091750&view=diff
==============================================================================
--- subversion/trunk/subversion/include/svn_wc.h (original)
+++ subversion/trunk/subversion/include/svn_wc.h Wed Apr 13 11:28:14 2011
@@ -7416,7 +7416,7 @@ svn_wc_revision_status(svn_wc_revision_s
  * @note For now, directories are NOT allowed to be associated with
  * changelists; there is confusion about whether they should behave
  * as depth-0 or depth-infinity objects.  If @a local_abspath is a directory,
- * return #SVN_ERR_UNSUPPORTED_FEATURE.
+ * return an error.
  *
  * @note This metadata is purely a client-side "bookkeeping"
  * convenience, and is entirely managed by the working copy.