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

RE: Is it possible to have an unversionned item in a svn repository that is still checked out the first time?

From: Méresse Christophe <christophe.meresse_at_nagra.com>
Date: 2007-03-14 16:14:20 CET

 

________________________________

        From: elvanor@gmail.com [mailto:elvanor@gmail.com] On Behalf Of Jean-Noël Rivasseau
        Sent: mercredi, 14. mars 2007 14:31
        To: users@subversion.tigris.org
        Subject: Is it possible to have an unversionned item in a svn repository that is still checked out the first time?
        
        
        Hello
        
        My problem is this one: I would like to have a configuration file in my subversion project, along with the code. Ideally, developpers checking out my project via SVN would get a copy of a (default) configuration file. Thus they would know that this file is there and needs to be modified accordingly.
        
        However I of course don't need the changes they make to the file to be commited to the SVN repository... since these changes reflect their (local) configuration...
        
        Is there a way to have such a file in an SVN repository? svn status would not show this file (as if it were ignored), but it would still be in the subversion repository.
         

It's not possible to do that with Subversion but...
 
Usually, projects contain a file called something like myproject-default.conf and users/developers just have to copy it as myproject.conf and modify it.
Your project can either verify if a myproject.conf file is present and either complain, either use the myproject-default.conf.
 
Think simple :)
 
Regards
Christophe
 
Received on Wed Mar 14 16:15:06 2007

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.