Author: cmpilato
Date: Wed Dec 2 14:52:49 2009
New Revision: 886164
URL: http://svn.apache.org/viewvc?rev=886164&view=rev
Log:
Fixup a blatant, flagrant, evil lie of the Devil found in the usage
messages of 'svn update' and 'svn switch'.
* subversion/svn/main.c
(svn_cl__cmd_table): Stop claiming that --set-depth can't make
directories more shallow, because since 1.6 was released, it
certainly can.
* subversion/tests/cmdline/getopt_tests_data/svn_help_log_switch_stdout
Update expected output from 'svn help switch'.
Modified:
subversion/trunk/subversion/svn/main.c
subversion/trunk/subversion/tests/cmdline/getopt_tests_data/svn_help_log_switch_stdout
Modified: subversion/trunk/subversion/svn/main.c
URL:
http://svn.apache.org/viewvc/subversion/trunk/subversion/svn/main.c?rev=886164&r1=886163&r2=886164&view=diff
==============================================================================
--- subversion/trunk/subversion/svn/main.c (original)
+++ subversion/trunk/subversion/svn/main.c Wed Dec 2 14:52:49 2009
@@ -1013,9 +1013,7 @@
" are applied to the obstructing path.\n"
"\n"
" Use the --set-depth option to set a new working copy depth on the\n"
- " targets of this operation. Currently, the depth of a working
copy\n"
- " directory can only be increased (telescoped more deeply); you
cannot\n"
- " make a directory more shallow.\n"
+ " targets of this operation.\n"
"\n"
" 2. Rewrite working copy URL metadata to reflect a syntactic change
only.\n"
" This is used when repository's root URL changes (such as a scheme\n"
Modified:
subversion/trunk/subversion/tests/cmdline/getopt_tests_data/svn_help_log_switch_stdout
URL:
http://svn.apache.org/viewvc/subversion/trunk/subversion/tests/cmdline/getopt_tests_data/svn_help_log_switch_stdout?rev=886164&r1=886163&r2=886164&view=diff
==============================================================================
---
subversion/trunk/subversion/tests/cmdline/getopt_tests_data/svn_help_log_switch_stdout
(original)
+++
subversion/trunk/subversion/tests/cmdline/getopt_tests_data/svn_help_log_switch_stdout
Wed Dec 2 14:52:49 2009
@@ -88,9 +88,7 @@
are applied to the obstructing path.
Use the --set-depth option to set a new working copy depth on the
- targets of this operation. Currently, the depth of a working copy
- directory can only be increased (telescoped more deeply); you cannot
- make a directory more shallow.
+ targets of this operation.
2. Rewrite working copy URL metadata to reflect a syntactic change only.
This is used when repository's root URL changes (such as a scheme