Author: rhuijben
Date: Thu Jun 30 15:29:50 2011
New Revision: 1141573
URL: http://svn.apache.org/viewvc?rev=1141573&view=rev
Log:
* subversion/include/svn_error_codes.h
(SVN_ERR_WC_NOT_DIRECTORY): Define this now deprecated error as member of the
error enum with a duplicated value instead of as a #define, to keep it
available in the enum definition for our automatically generated bindings.
Modified:
subversion/trunk/subversion/include/svn_error_codes.h
Modified: subversion/trunk/subversion/include/svn_error_codes.h
URL:
http://svn.apache.org/viewvc/subversion/trunk/subversion/include/svn_error_codes.h?rev=1141573&r1=1141572&r2=1141573&view=diff
==============================================================================
--- subversion/trunk/subversion/include/svn_error_codes.h (original)
+++ subversion/trunk/subversion/include/svn_error_codes.h Thu Jun 30 15:29:50
2011
@@ -383,7 +383,9 @@ SVN_ERROR_START
/** @deprecated Provided for backward compatibility with the 1.6 API.
* Use #SVN_ERR_WC_NOT_WORKING_COPY. */
-#define SVN_ERR_WC_NOT_DIRECTORY SVN_ERR_WC_NOT_WORKING_COPY
+ SVN_ERRDEF(SVN_ERR_WC_NOT_DIRECTORY,
+ SVN_ERR_WC_NOT_WORKING_COPY,
+ "Path is not a working copy directory")
SVN_ERRDEF(SVN_ERR_WC_NOT_FILE,
SVN_ERR_WC_CATEGORY_START + 8,