You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by da...@apache.org on 2017/05/26 15:28:09 UTC
svn commit: r1796288 - /subversion/trunk/subversion/svn/svn.c
Author: danielsh
Date: Fri May 26 15:28:09 2017
New Revision: 1796288
URL: http://svn.apache.org/viewvc?rev=1796288&view=rev
Log:
Support silencing 'svn lock' and 'svn unlock'.
* subversion/svn/svn.c
(svn_cl__cmd_table."lock", svn_cl__cmd_table."unlock"): Take the -q option.
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=1796288&r1=1796287&r2=1796288&view=diff
==============================================================================
--- subversion/trunk/subversion/svn/svn.c (original)
+++ subversion/trunk/subversion/svn/svn.c Fri May 26 15:28:09 2017
@@ -807,7 +807,7 @@ const svn_opt_subcommand_desc2_t svn_cl_
"usage: lock TARGET...\n"
"\n"
" Use --force to steal the lock from another user or working copy.\n"),
- { opt_targets, 'm', 'F', opt_force_log, opt_encoding, opt_force },
+ { opt_targets, 'm', 'F', opt_force_log, opt_encoding, opt_force, 'q' },
{{'F', N_("read lock comment from file ARG")},
{'m', N_("specify lock comment ARG")},
{opt_force_log, N_("force validity of lock comment source")}} },
@@ -1780,7 +1780,7 @@ const svn_opt_subcommand_desc2_t svn_cl_
"usage: unlock TARGET...\n"
"\n"
" Use --force to break the lock.\n"),
- { opt_targets, opt_force } },
+ { opt_targets, opt_force, 'q' } },
{ "update", svn_cl__update, {"up"}, N_
("Bring changes from the repository into the working copy.\n"