Author: julianfoad
Date: Mon Dec 16 10:34:31 2019
New Revision: 1871646
URL: http://svn.apache.org/viewvc?rev=1871646&view=rev
Log:
In help text, remove obsolete examples of 'svn switch --relocate'.
* subversion/svn/svn.c
Remove it from help text.
* subversion/tests/cmdline/getopt_tests_data/svn_help_log_switch_stdout
Remove it from test expectation.
Modified:
subversion/trunk/subversion/svn/svn.c
subversion/trunk/subversion/tests/cmdline/getopt_tests_data/svn_help_log_switch_stdout
Modified: subversion/trunk/subversion/svn/svn.c
URL:
http://svn.apache.org/viewvc/subversion/trunk/subversion/svn/svn.c?rev=1871646&r1=1871645&r2=1871646&view=diff
==============================================================================
--- subversion/trunk/subversion/svn/svn.c (original)
+++ subversion/trunk/subversion/svn/svn.c Mon Dec 16 10:34:31 2019
@@ -1911,9 +1911,6 @@ const svn_opt_subcommand_desc3_t svn_cl_
"\n"), N_(
" Examples:\n"
" svn switch ^/branches/1.x-release\n"
- " svn switch --relocate http:// svn://\n"
- " svn switch --relocate http://www.example.com/repo/project \\\n"
- " svn://svn.example.com/repo/project\n"
)},
{ 'r', 'N', opt_depth, opt_set_depth, 'q', opt_merge_cmd,
opt_ignore_externals, opt_ignore_ancestry, opt_force, opt_accept,
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=1871646&r1=1871645&r2=1871646&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
Mon Dec 16 10:34:31 2019
@@ -174,9 +174,6 @@ usage: 1. switch URL[@PEGREV] [PATH]
Examples:
svn switch ^/branches/1.x-release
- svn switch --relocate http:// svn://
- svn switch --relocate http://www.example.com/repo/project \
- svn://svn.example.com/repo/project
Valid options:
-r [--revision] ARG : ARG (some commands also take ARG1:ARG2 range)