[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: Johan Corveleyn <jcorvel_at_gmail.com>
Date: Wed, 25 Feb 2015 10:56:32 +0100

On Tue, Feb 24, 2015 at 5:32 PM, Julian Foad <julianfoad_at_btopenworld.com> wrote:
> Branko Čibej wrote:
>> This is what's currently on the branch:
>>
>> svn diff http://svn.apache.org/repos/asf/subversion/trunk@1661975 \
>> http://svn.apache.org/repos/asf/subversion/branches/svn-info-detail
> [...]
>> svn info --show-item=KEYWORD
>
> Looks good to me.
>
>
> I'm +1 on merging to trunk. I tried it out briefly and noted a few minor issues on IRC, none of which would need to be fixed before merging.
>
> I'd be happy for this to be ported into 1.9.0 too.
>

+1. Very nice feature.

I've been wondering though (sorry, haven't read through the source,
just thinking about how it works): does it support multiple
--show-item options? As in:

    $ svn info --show-item=last-changed-rev
--show-item=last-changed-author TARGET
    12345
    johndoe

I don't know how this would work together with multple (or recursive)
targets, but maybe something like this might be okay:

    $ svn info --show-item=last-changed-rev
--show-item=last-changed-author --depth=immediates .
    12345 johndoe .
    54321 jrandom README
    ...

?

-- 
Johan
Received on 2015-02-25 10:57:20 CET

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