You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by br...@apache.org on 2018/11/25 01:07:12 UTC
svn commit: r1847377 - /subversion/trunk/subversion/svn/svn.c
Author: brane
Date: Sun Nov 25 01:07:12 2018
New Revision: 1847377
URL: http://svn.apache.org/viewvc?rev=1847377&view=rev
Log:
Reduce the scope of the Windows-specific help text for 'svn list'.
Now that help texts are split into paragraphs, there's no reason for the
whole help text to be copied into Windows- and other-specific parts, when
the difference between them is just one line in one paragraph.
* subversion/svn/svn.c (svn_cl__cmd_table): Keep only one copy of the
help text that is common to all platforms.
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=1847377&r1=1847376&r2=1847377&view=diff
==============================================================================
--- subversion/trunk/subversion/svn/svn.c (original)
+++ subversion/trunk/subversion/svn/svn.c Sun Nov 25 01:07:12 2018
@@ -860,7 +860,6 @@ const svn_opt_subcommand_desc3_t svn_cl_
},
{ "list", svn_cl__list, {"ls"},
-#if defined(WIN32)
{N_(
"List directory entries in the repository.\n"
"usage: list [TARGET[@REV]...]\n"
@@ -872,37 +871,22 @@ const svn_opt_subcommand_desc3_t svn_cl_
"\n"), N_(
" The default TARGET is '.', meaning the repository URL of the current\n"
" working directory.\n"
- "\n"), N_(
+ "\n"),
+#if defined(WIN32)
+ N_(
" Multiple --search patterns may be specified and the output will be\n"
" reduced to those paths whose last segment - i.e. the file or directory\n"
" name - contains a sub-string matching at least one of these patterns\n"
" (Windows only).\n"
- "\n"), N_(
- " With --verbose, the following fields will be shown for each item:\n"
- "\n"), N_(
- " Revision number of the last commit\n"
- " Author of the last commit\n"
- " If locked, the letter 'O'. (Use 'svn info URL' to see details)\n"
- " Size (in bytes)\n"
- " Date and time of the last commit\n"
- )},
+ "\n"),
#else
- {N_(
- "List directory entries in the repository.\n"
- "usage: list [TARGET[@REV]...]\n"
- "\n"), N_(
- " List each TARGET file and the contents of each TARGET directory as\n"
- " they exist in the repository. If TARGET is a working copy path, the\n"
- " corresponding repository URL will be used. If specified, REV determines\n"
- " in which revision the target is first looked up.\n"
- "\n"), N_(
- " The default TARGET is '.', meaning the repository URL of the current\n"
- " working directory.\n"
- "\n"), N_(
+ N_(
" Multiple --search patterns may be specified and the output will be\n"
" reduced to those paths whose last segment - i.e. the file or directory\n"
" name - matches at least one of these patterns.\n"
- "\n"), N_(
+ "\n"),
+#endif
+ N_(
" With --verbose, the following fields will be shown for each item:\n"
"\n"), N_(
" Revision number of the last commit\n"
@@ -911,7 +895,6 @@ const svn_opt_subcommand_desc3_t svn_cl_
" Size (in bytes)\n"
" Date and time of the last commit\n"
)},
-#endif
{'r', 'v', 'R', opt_depth, opt_incremental, opt_xml,
opt_include_externals, opt_search}, },