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

Re: Server name/IP remove in SVN URL keywords

From: Lorenz <lorenznl_at_yahoo.com>
Date: Fri, 13 Sep 2013 05:59:16 +0000

Masood Azizi wrote:
>> Masood Azizi wrote:
>> >> Masood Azizi wrote:
>> >> >I use tortoise for svn. I want to update svn info by svn:keywords in my project files.
>> >> >By adding this line to the respective file,
>> >> >Repository path: $HeadURL$
>> >> >And adding "HeadURL" in the file tortoise properties(svn:keywords), I can show the URL of the svn in the server:
>> >> >Repository path: $HeadURL: http://svnserver.com/svn/aliaspooryorik/trunk/Application.cfc $
>> >> >My question is that, how can I remove the server name/IP in the URL, like:
>> >> >Repository path: $HeadURL: /svn/aliaspooryorik/trunk/Application.cfc $
>> >>
>> >> you can get repository-root-relative paths using custom keyword
>> >> expansion (since svn 1.8).
>> >> --
>> >
>> >Would you please explain more or give me a link about this method?
>> >Actually, I'm a newbie and cannot understand exactly.
>> >
>> >PS. we want to have the SVN path without servername even in customer versions.
>> have a look here:
>> http://svnbook.red-bean.com/nightly/en/svn.advanced.props.special.keywords.html
>since, my SVN version is 1.6.6 and as you mentioned, I have to upgrade it to 1.8, are you sure that this approach will solve my problem?
>Then which format would be my answer?

assuming http://svnserver.com/svn/aliaspooryorik is the URL of your
repository, then %P will give you 'trunk/Application.cfc'

and as Andy allready pointed out, you need a 1.8 client (server
version is not relevant).

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2013-09-13 07:55:54 CEST

This is an archived mail posted to the TortoiseSVN Users mailing list.

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