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

Re: API review: "repository relative URL" or "relative repository URL"

From: Julian Foad <julianfoad_at_btopenworld.com>
Date: Wed, 20 Mar 2013 15:11:45 +0000 (GMT)

Ivan Zhakov wrote:

> On Wed, Mar 20, 2013 at 5:43 PM, C. Michael Pilato wrote:
>> Related follow-up:  should we change the output of 'svn info' so
> that
>> instead of:
>>
>>     Relative URL: ^/trunk/en/README
>>
>> it prints:
>>
>>     Repository-Relative URL: ^/trunk/en/README
>>
>> Or is that just obnoxious?
>>
> Probably we can just print:
> [[
> URL: ^/trunk/en/README
> ]]
>
> '^' symbol already states that this URL is repository relative.

No.  The "URL:" prefix is already used for the full URL, and we want unique prefixes because the 'svn info' output is (I believe) commonly parsed by scripts that do things like 'svn info | grep "^URL:"'.

- Julian
Received on 2013-03-20 16:12:21 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.