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

RE: Automatic replacement on commit

From: Roth, Pierre <pierre.roth_at_covidien.com>
Date: Mon, 8 Sep 2008 16:50:44 +0100

Hi,
 
First, I would like to warn you about HTML formatted emails which are not so appreciated...
 
Then, yes you can do whatever you want as clearcase triggers can be reproduced using SVN hooks. It depends on what you would like to insert. If it is a SVN revision number, then the svn:keywords property set to Id will work for you. If it is a home made "version" then you'll probably have to write your own script and call it from a pre-commit hook.
 
Please see this SVN book chapter : http://svnbook.red-bean.com/en/1.4/svn-book.html#svn.reposadmin.create.hooks
 
HTH
 
Pierre
 
 

________________________________

        De : Matthieu BROUILLARD [mailto:matthieu.brouillard_at_agfa.com]
        Envoyé : lundi 8 septembre 2008 14:15
        À : users_at_subversion.tigris.org
        Objet : Automatic replacement on commit
        
        

        Hi everybody,

         

        In my company we were used to manage our source files with Clearcase.

        We want to migrate under subversion, but actually we are missing a functionality that we need.

         

        For some files, there is an automatic replacement that is done before commit (with a perl script on the Clearcase server).

         

        This automatic replacement is a "version" generation in the header of the file (Ex: 8.4 then next commit 8.5 ...).

        This meta-information is used in some process for our software (in fact DB management with an applicative versioning of the DB objects/data/...).

         

        Is there a way to handle this with Subversion?

        * Using directly subversion and the keyword replacement mechanism,
        * Using an apache mod,
        * Using something else?

         

        Thank you for your help.

         

        Cordialement, best regards,

         

        Matthieu BROUILLARD
        Team Manager CIS
        Agfa HealthCare Enterprise Solutions
        <http://www.agfa.com/en/he/index.jsp> HIS-CIS Business Unit
        T: +33 5 57 77 55 69 (internal: 470)
        M: +33 6 09 38 58 73
        matthieu.brouillard_at_agfa.com <mailto:matthieu.brouillard_at_agfa.com>

         
Received on 2008-09-08 17:51:47 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.