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
>
>Thanks,
>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).
--
Lorenz
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=3064503
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2013-09-13 07:55:54 CEST