subversion-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Johan Corveleyn <jcor...@gmail.com>
Subject Re: --strict vs --no-newline
Date Tue, 17 Jun 2014 12:00:43 GMT
On Tue, Jun 17, 2014 at 1:09 PM, Julian Foad <julianfoad@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

Mime
View raw message