Author: danielsh
Date: Mon Dec 23 06:50:26 2019
New Revision: 1871916

URL: http://svn.apache.org/viewvc?rev=1871916&view=rev
Log:
'svn log': Make the --quiet and --diff options not mutually exclusive.

Suggested by: wuzhouhui

Thread: 
https://mail-archives.apache.org/mod_mbox/subversion-users/201912.mbox/%3C6F22A510-BF0B-48DA-9EBD-BB5A22C720BB%40mails.ucas.ac.cn%3E
        Date: Sun, 22 Dec 2019 11:29:35 +0800
        From: wuzhouhui <[email protected]>
        To: Subversion <[email protected]>
        Subject: Why option --diff and -q of svn log are mutually exclusive
        Message-Id: <[email protected]>

* subversion/svn/log-cmd.c
  (svn_cl__log): As above.

Modified:
    subversion/trunk/subversion/svn/log-cmd.c

Modified: subversion/trunk/subversion/svn/log-cmd.c
URL: 
http://svn.apache.org/viewvc/subversion/trunk/subversion/svn/log-cmd.c?rev=1871916&r1=1871915&r2=1871916&view=diff
==============================================================================
--- subversion/trunk/subversion/svn/log-cmd.c (original)
+++ subversion/trunk/subversion/svn/log-cmd.c Mon Dec 23 06:50:26 2019
@@ -733,10 +733,6 @@ svn_cl__log(apr_getopt_t *os,
                                   "XML mode"));
     }
 
-  if (opt_state->quiet && opt_state->show_diff)
-    return svn_error_create(SVN_ERR_CL_ARG_PARSING_ERROR, NULL,
-                            _("'quiet' and 'diff' options are "
-                              "mutually exclusive"));
   if (opt_state->diff.diff_cmd && (! opt_state->show_diff))
     return svn_error_create(SVN_ERR_CL_ARG_PARSING_ERROR, NULL,
                             _("'diff-cmd' option requires 'diff' "


Reply via email to