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

Re: truncated author names in 'svn ls -v' output

From: Branko Čibej <brane_at_apache.org>
Date: Tue, 27 Nov 2018 14:49:59 +0100

On 27.11.2018 12:22, Branko Čibej wrote:
> On 26.11.2018 04:15, Daniel Shahaf wrote:
>> Branko Čibej wrote on Sun, 25 Nov 2018 23:28 +0100:
>>> On 25.11.2018 18:42, Branko Čibej wrote:
>>>> On 25.11.2018 11:58, Daniel Shahaf wrote:
>>>>> Branko Čibej wrote on Sun, 25 Nov 2018 06:06 +0100:
>>>>>> $ svn ls --verbose --human-readable
>>>>>> 1847281 stsp Nov 23 16:04 ./
>>>>>> 1716820 rhuijben 175B Nov 27 2015 .editorconfig
>>>>> 'svn info' doesn't print file sizes at all. If it did, it could take
>>>>> the new flag too.
>>>> svn info -H --show-item=size? :)
>>> But seriouisly '--human-readable' and '--show-item' would be incompatible.
>> I don't see why. It would make perfect sense to have:
>> .
>> % svn info --human-readable --show-item=repos-size
>> 42KiB
>> %
>> .
>> for interactive usage.
>
> This?
>
>
> $ svn info -RH --show-item=repos-size ^/subversion/developer-resources/difftools
> 66 B https://svn.apache.org/repos/asf/subversion/developer-resources/difftools/README

[...]

On second thought, I think I should revert this. Consider the
inconsistency with --show-item=last-changed-date:

$ svn info ^/subversion/trunk/CHANGES --human-readable --show-item=last-changed-date
2018-11-26T02:50:47.513639Z

but

$ svn info ^/subversion/trunk/CHANGES | grep '^Last Changed Date'
Last Changed Date: 2018-11-26 03:50:47 +0100 (Mon, 26 Nov 2018)

The output from --show-item was always meant to be strictly for scripts.

-- Brane
Received on 2018-11-27 14:50:09 CET

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

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