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/11/01 17:41:37 UTC

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

Author: julianfoad
Date: Mon Nov  1 16:41:37 2010
New Revision: 1029737

URL: http://svn.apache.org/viewvc?rev=1029737&view=rev
Log:
* subversion/include/svn_wc.h
  (svn_wc_add_from_disk): Correct the doc string. Add and remove some
    TODO items.

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=1029737&r1=1029736&r2=1029737&view=diff
==============================================================================
--- subversion/trunk/subversion/include/svn_wc.h (original)
+++ subversion/trunk/subversion/include/svn_wc.h Mon Nov  1 16:41:37 2010
@@ -4212,9 +4212,8 @@ svn_wc_delete(const char *path,
               apr_pool_t *pool);
 
 /**
- * Schedule the node or tree that exists on disk at @a local_abspath for
- * addition to the working copy, recursively.  The added nodes will have
- * no properties.
+ * Schedule the single node that exists on disk at @a local_abspath for
+ * addition to the working copy.  The added node will have no properties.
  *
  * The versioned state of the parent path must be a modifiable directory,
  * and the versioned state of @a local_abspath must be either nonexistent or
@@ -4227,10 +4226,9 @@ svn_wc_delete(const char *path,
  *
  * ### TODO: Cancellation isn't implemented yet.
  *
- * ### TODO: Recurse as far as a specified depth?
+ * ### TODO: Allow the caller to provide the node's properties?
  *
- * ### A better API might allow the caller to walk a tree and add a single
- *     node at a time, specifying each node's properties.
+ * ### TODO: Split into add_dir, add_file, add_symlink?
  */
 svn_error_t *
 svn_wc_add_from_disk(svn_wc_context_t *wc_ctx,