subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From julianf...@apache.org
Subject svn commit: r1181879 - /subversion/branches/tree-read-api/subversion/libsvn_client/list.c
Date Tue, 11 Oct 2011 16:31:10 GMT
Author: julianfoad
Date: Tue Oct 11 16:31:10 2011
New Revision: 1181879

URL: http://svn.apache.org/viewvc?rev=1181879&view=rev
Log:
On the 'tree-read-api' branch: Make 'svn list' work a tiny bit better.

* subversion/libsvn_client/list.c
  (list_tree): Fill in the 'kind' field of the dirent.

Modified:
    subversion/branches/tree-read-api/subversion/libsvn_client/list.c

Modified: subversion/branches/tree-read-api/subversion/libsvn_client/list.c
URL: http://svn.apache.org/viewvc/subversion/branches/tree-read-api/subversion/libsvn_client/list.c?rev=1181879&r1=1181878&r2=1181879&view=diff
==============================================================================
--- subversion/branches/tree-read-api/subversion/libsvn_client/list.c (original)
+++ subversion/branches/tree-read-api/subversion/libsvn_client/list.c Tue Oct 11 16:31:10
2011
@@ -139,7 +139,7 @@ list_tree(svn_client_tree_t *tree,
   svn_dirent_t dirent = { 0 };
 
   SVN_ERR(svn_tree_get_kind(tree, &kind, relpath, pool));
-  /* dirent.kind = svn__node_kind_from_kind(kind); */
+  dirent.kind = svn__node_kind_from_kind(kind);
   /* if (dirent.kind == svn_kind_file)
     dirent.size = svn_tree_stat ... */
   SVN_ERR(list_func(list_baton, relpath, &dirent, NULL /* lock */,



Mime
View raw message