On Thu, Sep 12, 2013 at 9:33 AM, Masood Azizi <masoodmx_at_gmail.com> 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?
That feature is only available with 1.8 and newer clients. You can
upgrade your client without upgrading the server.
Those are your two options. Upgrade to 1.8 and use the new keyword
options, or write a separate script to process your files and strip
out that data.
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=3064461
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2013-09-12 15:46:51 CEST