[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: Daniel Shahaf <d.s_at_daniel.shahaf.name>
Date: Mon, 23 Dec 2019 06:53:49 +0000

Branko Čibej wrote on Sun, 22 Dec 2019 07:26 +00:00:
> 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.

Done in r1871916. Thanks for the suggestion.

Cheers,

Daniel
Received on 2019-12-23 07:54:18 CET

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