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 2010/02/09 15:28:47 UTC

svn commit: r908049 - in /subversion/trunk/subversion: libsvn_client/export.c libsvn_client/update.c libsvn_wc/lock.c libsvn_wc/wc_db.h

Author: julianfoad
Date: Tue Feb  9 14:28:46 2010
New Revision: 908049

URL: http://svn.apache.org/viewvc?rev=908049&view=rev
Log:
Update some comments, following up r879274 which renamed an error code.
(But don't update the doc strings of deprecated functions.)

* subversion/libsvn_client/export.c (open_root_internal),
  subversion/libsvn_client/update.c (svn_client_update3),
  subversion/libsvn_wc/lock.c (do_open),
  subversion/libsvn_wc/wc_db.h (svn_wc__db_base_get_children):
    Mention SVN_ERR_WC_NOT_WORKING_COPY instead of SVN_ERR_WC_NOT_DIRECTORY
    in comments.

Modified:
    subversion/trunk/subversion/libsvn_client/export.c
    subversion/trunk/subversion/libsvn_client/update.c
    subversion/trunk/subversion/libsvn_wc/lock.c
    subversion/trunk/subversion/libsvn_wc/wc_db.h

Modified: subversion/trunk/subversion/libsvn_client/export.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_client/export.c?rev=908049&r1=908048&r2=908049&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_client/export.c (original)
+++ subversion/trunk/subversion/libsvn_client/export.c Tue Feb  9 14:28:46 2010
@@ -464,7 +464,7 @@
  * Create PATH if it does not exist and is not obstructed, and invoke
  * NOTIFY_FUNC with NOTIFY_BATON on PATH.
  *
- * If PATH exists but is a file, then error with SVN_ERR_WC_NOT_DIRECTORY.
+ * If PATH exists but is a file, then error with SVN_ERR_WC_NOT_WORKING_COPY.
  *
  * If PATH is a already a directory, then error with
  * SVN_ERR_WC_OBSTRUCTED_UPDATE, unless FORCE, in which case just

Modified: subversion/trunk/subversion/libsvn_client/update.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_client/update.c?rev=908049&r1=908048&r2=908049&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_client/update.c (original)
+++ subversion/trunk/subversion/libsvn_client/update.c Tue Feb  9 14:28:46 2010
@@ -369,7 +369,7 @@
         }
       else if (err)
         {
-          /* SVN_ERR_WC_NOT_DIRECTORY: it's not versioned */
+          /* SVN_ERR_WC_NOT_WORKING_COPY: it's not versioned */
           svn_error_clear(err);
           err = SVN_NO_ERROR;
           result_rev = SVN_INVALID_REVNUM;

Modified: subversion/trunk/subversion/libsvn_wc/lock.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_wc/lock.c?rev=908049&r1=908048&r2=908049&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_wc/lock.c (original)
+++ subversion/trunk/subversion/libsvn_wc/lock.c Tue Feb  9 14:28:46 2010
@@ -588,7 +588,7 @@
 /* This is essentially the guts of svn_wc_adm_open3.
  *
  * If the working copy is already locked, return SVN_ERR_WC_LOCKED; if
- * it is not a versioned directory, return SVN_ERR_WC_NOT_DIRECTORY.
+ * it is not a versioned directory, return SVN_ERR_WC_NOT_WORKING_COPY.
  */
 static svn_error_t *
 do_open(svn_wc_adm_access_t **adm_access,

Modified: subversion/trunk/subversion/libsvn_wc/wc_db.h
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_wc/wc_db.h?rev=908049&r1=908048&r2=908049&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_wc/wc_db.h (original)
+++ subversion/trunk/subversion/libsvn_wc/wc_db.h Tue Feb  9 14:28:46 2010
@@ -680,7 +680,7 @@
  * the names of all of its children in the array CHILDREN. The array
  * elements are const char * values.
  *
- * If the node is not a directory, then SVN_ERR_WC_NOT_DIRECTORY will
+ * If the node is not a directory, then SVN_ERR_WC_NOT_WORKING_COPY will
  * be returned.
  *
  * All returned data will be allocated in RESULT_POOL. All temporary