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

Re: Why option --diff and -q of svn log are mutually exclusive

From: Branko Čibej <brane_at_apache.org>
Date: Sun, 22 Dec 2019 08:26:25 +0100

On 22.12.2019 04:55, Daniel Shahaf wrote:
> wuzhouhui wrote on Sun, 22 Dec 2019 03:29 +00:00:
>> When I use
>>
>> svn log -q --diff
>>
>> to display only different of every revision, the svn report error:
>>
>> svn: E205000: Try 'svn help log' for more information
>> svn: E205000: 'quiet' and 'diff' options are mutually exclusive
>>
>> I just don't understand why option --diff and -q are mutually exclusive?
>> Can we remove this limitation?
> I don't see any reason for this restriction either, and the combination
> does seem to work, once the check is removed. Why should this
> restriction be kept?

I don't think there's any good reason, except perhaps for considerations
about documenting the behaviour. 'svn log -q -v' works ... by the
principle of least surprise, 'svn log -q --diff' should work, too.

At a glance, the help message doesn't need changing, either.

-- Brane
Received on 2019-12-22 08:26:29 CET

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.