You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by gs...@apache.org on 2010/03/31 19:44:19 UTC
svn commit: r929635 - /subversion/trunk/subversion/include/svn_editor.h
Author: gstein
Date: Wed Mar 31 17:44:18 2010
New Revision: 929635
URL: http://svn.apache.org/viewvc?rev=929635&view=rev
Log:
* subversion/include/svn_editor.h:
(): answer stsp's question
Modified:
subversion/trunk/subversion/include/svn_editor.h
Modified: subversion/trunk/subversion/include/svn_editor.h
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/include/svn_editor.h?rev=929635&r1=929634&r2=929635&view=diff
==============================================================================
--- subversion/trunk/subversion/include/svn_editor.h (original)
+++ subversion/trunk/subversion/include/svn_editor.h Wed Mar 31 17:44:18 2010
@@ -865,6 +865,15 @@ svn_editor_copy(svn_editor_t *editor,
* ### Would the following be valid?
* ### svn_editor_add_file(ed, "foo.c", props, rN);
* ### svn_editor_move(ed, "foo.c", rM, "bar.c", rN);
+ * ###
+ * ### gstein: no, it would be:
+ * ### svn_editor_delete(e, "foo.c", rN);
+ * ### svn_editor_add_file(e, "foo.c", props, SVN_INVALID_REVNUM);
+ * ### svn_editor_move(e, "foo.c", rM, "bar.c", SVN_INVALID_REVNUM);
+ * ###
+ * ### replaces_rev is to indicate a deletion of the destination node
+ * ### that occurs as part of the move. there are no replacements in
+ * ### your example.
*
* For all restrictions on driving the editor, see #svn_editor_t.
* @since New in 1.7.