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

Re: svn info --show-item [was: svn info --detail]

From: Philip Martin <philip.martin_at_wandisco.com>
Date: Wed, 25 Feb 2015 11:34:46 +0000

Branko Čibej <brane_at_wandisco.com> writes:

> On 25.02.2015 12:10, Philip Martin wrote:
>> Branko Čibej <brane_at_wandisco.com> writes:
>>
>>> The new variant of 'svn info' is called
>>>
>>> svn info --show-item=KEYWORD
>>>
>>> (it also accepts --no-newline, just like 'svn youngest' did).
>> 'svn propget' has a much longer history of using --strict to suppress
>> the newline.
>
> Yes, but what are you suggesting, that I add the '--strict' option to
> 'svn info'? Because I have trouble imagining how that would be
> understandable to users.

I am suggesting that --no-newline should be replaced by --strict. Is it
harder to understand when used with 'info' than it is when used with
'propget'? It seems odd for different sub-commands to use different
names for what is essentially the same option.

'svn youngest' is not a precedent for using --no-newline in 'svn' as it
was never released. 'svnversion' does use '--no-newline' but it is not
'svn' and it also has '-c' that conflicts with 'svn'.

-- 
Philip Martin | Subversion Committer
WANdisco // *Non-Stop Data*
Received on 2015-02-25 12:36:51 CET

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