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

Re: Re: Server name/IP remove in SVN URL keywords

From: Andy Levy <andy.levy_at_gmail.com>
Date: Thu, 12 Sep 2013 07:20:32 -0400

On Thu, Sep 12, 2013 at 5:14 AM, Masood Azizi <masoodmx_at_gmail.com> wrote:
>> On Tue, Sep 10, 2013 at 9:22 AM, Masood Azizi <masoodmx at gmail dot com> 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 $
>> Multi-posted on Stackoverflow:
>> http://stackoverflow.com/questions/18719828/server-name-ip-remove-in-svn-url-keywords
> Yes, the author of this post is also me. I asked my question double to get more answers and solutions.
>> Why do you want to do this?
> Since, this info is generated to the files which would be used by customers later on, We prefer not to show our server name for some security reasons, but we would like to know the path of the file in our svn server.

Either strip the content from the files in the process you use to
build a distribution copy for your customers, or use --ignore-keywords
when you call svn export to make that copy.


To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2013-09-12 13:21:21 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.