[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

'svn lock -q' (was: Suspected issue with "remove-zombie-locks.py"?)

From: Daniel Shahaf <danielsh_at_apache.org>
Date: Mon, 6 Mar 2017 16:10:32 +0000

Daniel Shahaf wrote on Mon, Mar 06, 2017 at 16:06:44 +0000:
> I can reproduce this using the FS API only (without the contrib/ script):

While reproducing this I ran into:

    % svn lock -q a
    Subcommand 'lock' doesn't accept option '-q [--quiet]'
    Type 'svn help lock' for usage.

I assume the following will fix it, but I don't have a build environment
so I can't test it.

[[[
Index: subversion/svn/svn.c
===================================================================
--- subversion/svn/svn.c (revision 1785678)
+++ subversion/svn/svn.c (working copy)
@@ -807,7 +807,7 @@ const svn_opt_subcommand_desc2_t svn_cl__cmd_table
      "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, 'q', 'm', 'F', opt_force_log, opt_encoding, opt_force },
     {{'F', N_("read lock comment from file ARG")},
      {'m', N_("specify lock comment ARG")},
      {opt_force_log, N_("force validity of lock comment source")}} },
]]]

Cheers,

Daniel
Received on 2017-03-06 17:15:21 CET

This is an archived mail posted to the Subversion Dev mailing list.