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

Re: Export Code and do something

From: Alexander Wahl <mail_at_alexproject.de>
Date: Thu, 03 Sep 2009 13:03:20 +0200

On Thu, 3 Sep 2009 06:35:08 -0400, Andy Levy <andy.levy_at_gmail.com> wrote:
> On Thu, Sep 3, 2009 at 06:14, Alexander Wahl<mail_at_alexproject.de> wrote:
>> Hello,
>> we "tag" stable versions of our Code with svn. Code uploaded to the
>> customers website is only exported from "tags"-directory in svn. Want I
>> want to do is: whenever code is exported from "tags" I want to replace a
>> string in a config-file to the actual "tag"-revision.
>> It's purpose is, to know in the future which Rev. is on the customers
> site.
>> I can do that with keywords $REV$, but this can only be done client-side
>> and I am search for a mechanism which I can implement on the svn-server
>> side.
>> How to you "mark" your code which is deployed to the customer?
> Add the following to your export process.
> http://subversion.tigris.org/faq.html#version-value-in-source

Thanks for the hint. We do not use any deployment tool like phing,ant or
maven. So we do only a "svn export". Is there a possibility to implement
the string-replacements of der version.php file by a shell-hook?


To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-09-03 14:29:46 CEST

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

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