subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1780921 - /subversion/trunk/subversion/svn/svn.c
Date Mon, 30 Jan 2017 15:13:52 GMT
Author: stsp
Date: Mon Jan 30 15:13:52 2017
New Revision: 1780921

URL: http://svn.apache.org/viewvc?rev=1780921&view=rev
Log:
Improve wording in help text of 'svn copy' and 'svn move'.

* subversion/svn/svn.c
  (svn_cl__cmd_table): Explain more clearly what happens when
   copying/moving multiple sources. Explicitly state that the
   destination must be an existing directory in this case.

Modified:
    subversion/trunk/subversion/svn/svn.c

Modified: subversion/trunk/subversion/svn/svn.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/svn/svn.c?rev=1780921&r1=1780920&r2=1780921&view=diff
==============================================================================
--- subversion/trunk/subversion/svn/svn.c (original)
+++ subversion/trunk/subversion/svn/svn.c Mon Jan 30 15:13:52 2017
@@ -653,8 +653,9 @@ const svn_opt_subcommand_desc2_t svn_cl_
      "    WC  -> URL:  immediately commit a copy of WC to URL\n"
      "    URL -> WC:   check out URL into WC, schedule for addition\n"
      "    URL -> URL:  complete server-side copy;  used to branch and tag\n"
-     "  All the SRCs must be of the same type. When copying multiple sources,\n"
-     "  they will be added as children of DST, which must be a directory.\n"
+     "  All the SRCs must be of the same type. If DST is an existing directory,\n"
+     "  the sources will be added as children of DST. When copying multiple\n"
+     "  sources, DST must be an existing directory.\n"
      "\n"
      "  WARNING: For compatibility with previous versions of Subversion,\n"
      "  copies performed using two working copy paths (WC -> WC) will not\n"
@@ -1306,8 +1307,9 @@ const svn_opt_subcommand_desc2_t svn_cl_
      "                be committed later (with or without further changes)\n"
      "    URL -> URL: move an item in the repository directly, immediately\n"
      "                creating a new revision in the repository\n"
-     "  All the SRCs must be of the same type. When moving multiple sources,\n"
-     "  they will be added as children of DST, which must be a directory.\n"
+     "  All the SRCs must be of the same type. If DST is an existing directory,\n"
+     "  the sources will be added as children of DST. When moving multiple\n"
+     "  sources, DST must be an existing directory.\n"
      "\n"
      "  SRC and DST of WC -> WC moves must be committed in the same revision.\n"
      "  Furthermore, WC -> WC moves will refuse to move a mixed-revision subtree.\n"



Mime
View raw message