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

"svn copy" doesn't modify its source

From: Julian Foad <julianfoad_at_btopenworld.com>
Date: 2003-10-07 14:51:57 CEST

Does this look right?

Fix the description of "svn copy": it only modifies the repository or WC of
the destination, not of the source.

* subversion/include/svn_client.h
  (svn_client_copy) Fix doc string.

* doc/book/book/ch08.xml
  Fix "Changes" and "Accesses repository" subsections of "svn copy".

Index: subversion/include/svn_client.h
--- subversion/include/svn_client.h (revision 7317)
+++ subversion/include/svn_client.h (working copy)
@@ -908,12 +908,12 @@
  * the @a src_path. @a dst_path must be a file or directory under version
  * control, or a repository @a url, existent or not.
- * If either @a src_path or @a dst_path are URLs, use the authentication baton
+ * If @a dst_path is a URL, use the authentication baton
  * in @a ctx and @a ctx->log_msg_func/@a ctx->log_msg_baton to immediately
  * attempt to commit the copy action in the repository. If the commit
  * succeeds, allocate (in @a pool) and populate @a *commit_info.
- * If neither @a src_path nor @a dst_path is a URL, then this is just a
+ * If @a dst_path is not a URL, then this is just a
  * variant of @c svn_client_add, where the @a dst_path items are scheduled
  * for addition as copies. No changes will happen to the repository
  * until a commit occurs. This scheduling can be removed with
Index: doc/book/book/ch08.xml
--- doc/book/book/ch08.xml (revision 7317)
+++ doc/book/book/ch08.xml (working copy)
@@ -961,12 +961,14 @@

- <para>Repository, and working copy if operating on files </para>
+ <para>Repository if destination is a URL.</para>
+ <para>Working copy if destination is a WC path.</para>

           <title>Accesses Repository</title>
- <para>Yes</para>
+ <para>If source or destination is in the repository, or if needed
+ to look up the source revision number.</para>


To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Oct 7 14:51:22 2003

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.