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

Re: --strict vs --no-newline

From: Johan Corveleyn <jcorvel_at_gmail.com>
Date: Tue, 17 Jun 2014 14:00:43 +0200

On Tue, Jun 17, 2014 at 1:09 PM, Julian Foad <julianfoad_at_btopenworld.com> wrote:
...
> Do we really want a new subcommand "svn youngest" for this?
>
> We already have:
>
> svnversion
> # youngest rev in a WC
>
> svn info $URL | grep 'Revision:'
> # head revision of repo in which $URL exists

Not exactly. It would give you "Revision: 12345", not "12345".

I think it would be nice if 'svn info' supported a "key" option, so:

    svn info --key Revision $URL
    12345

(or --name, or --whatever).

Then we'd also have:

    svn info --key "Working Copy Root Path" some/path
    C:\MyWorkingCopy

Perhaps even have key aliases, and/or multiple keys:

    svn info --key LCR,LCA,LCD $PATH
    5021
    jcorvel
    2014-06-17 13:59:00 +0200

Mmmmmm, just dreaming ...

-- 
Johan
Received on 2014-06-18 01:08:11 CEST

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.