subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From julianf...@apache.org
Subject svn commit: r1324684 - /subversion/branches/tree-read-api/subversion/libsvn_wc/node.c
Date Wed, 11 Apr 2012 10:15:40 GMT
Author: julianfoad
Date: Wed Apr 11 10:15:40 2012
New Revision: 1324684

URL: http://svn.apache.org/viewvc?rev=1324684&view=rev
Log:
On the 'tree-read-api' branch: fix a bug.

* subversion/libsvn_wc/node.c
  (convert_db_kind_to_node_kind2, svn_wc_read_base_kind, svn_wc_read_kind2):
    Return 'svn_kind_none', not 'svn_node_none'.

Modified:
    subversion/branches/tree-read-api/subversion/libsvn_wc/node.c

Modified: subversion/branches/tree-read-api/subversion/libsvn_wc/node.c
URL: http://svn.apache.org/viewvc/subversion/branches/tree-read-api/subversion/libsvn_wc/node.c?rev=1324684&r1=1324683&r2=1324684&view=diff
==============================================================================
--- subversion/branches/tree-read-api/subversion/libsvn_wc/node.c (original)
+++ subversion/branches/tree-read-api/subversion/libsvn_wc/node.c Wed Apr 11 10:15:40 2012
@@ -383,7 +383,7 @@ convert_db_kind_to_node_kind2(svn_kind_t
         SVN_ERR_MALFUNCTION();
     }
 
-  /* Make sure hidden nodes return svn_node_none. */
+  /* Make sure hidden nodes return svn_kind_none. */
   if (! show_hidden)
     switch (db_status)
       {
@@ -419,7 +419,7 @@ svn_wc_read_base_kind(svn_kind_t *kind,
   if (err && err->apr_err == SVN_ERR_WC_PATH_NOT_FOUND)
     {
       svn_error_clear(err);
-      *kind = svn_node_none;
+      *kind = svn_kind_none;
       return SVN_NO_ERROR;
     }
   else
@@ -451,7 +451,7 @@ svn_wc_read_kind2(svn_kind_t *kind,
   if (err && err->apr_err == SVN_ERR_WC_PATH_NOT_FOUND)
     {
       svn_error_clear(err);
-      *kind = svn_node_none;
+      *kind = svn_kind_none;
       return SVN_NO_ERROR;
     }
   else



Mime
View raw message