[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

[PATCH] Fix API doc parameter reference

From: Madan U Sreenivasan <madan_at_collab.net>
Date: 2006-07-28 21:26:00 CEST


    While looking at the svn_delta_editor_t structure, I found that the API
doc for the add_file() member referred to parameter names that were not
part of the add_file() prototype. Maybe these parameters were renamed
sometime later? Anyways, pl. find attached a patch that fixes this doc and
the corresponding log.


Index: subversion/include/svn_delta.h
--- subversion/include/svn_delta.h (revision 20891)
+++ subversion/include/svn_delta.h (working copy)
@@ -800,9 +800,9 @@
    * store a baton for this new file in @a **file_baton; whatever value
    * it stores there should be passed through to @c apply_textdelta.
- * If @a copyfrom_path is non-@c NULL, this add has history (i.e., is a
+ * If @a copy_path is non-@c NULL, this add has history (i.e., is a
    * copy), and the origin of the copy may be recorded as
- * @a copyfrom_path under @a copyfrom_revision.
+ * @a copy_path under @a copy_revision.
    * Allocations for the returned @a file_baton should be performed in
    * @a file_pool. It is also typical to save this pool for later usage

Correct parameter references in the API doc.

* subversion/include/svn_delta.h
  (svn_delta_editor_t.add_file): Correct doc to refer to copy_path and
   copy_revision instead of copyfrom_path and copyfrom_revision.

To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Jul 28 20:56:42 2006

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.