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

Re: checkout-specific config files: svnadmin readonly??

From: Erich Enke <epte_at_ruffdogs.com>
Date: 2004-12-02 19:04:22 CET

François Beausoleil wrote:

>
>
> Erich Enke wrote:
>
>> Is there some way to svn ignore that file, so that, although it is
>> under version control, it won't be checked in after you tell it to
>> ignore that file? (I don't want to remove the file from version
>> control because the vanilla version should be in there)
>
>
> Quoting http://subversion.tigris.org/project_faq.html#ignore-commit
>
> ----------
> I have a file in my project that every developer must change, but I
> don't want those local mods to ever be committed. How can I make 'svn
> commit' ignore the file?
>
> The answer is: don't put that file under version control. Instead, put
> a template of the file under version control, something like "file.tmpl".
>
> Then, after the initial 'svn checkout', have your users (or your build
> system) do a normal OS copy of the template to the proper filename,
> and have users customize the copy. The file is unversioned, so it will
> never be committed. And if you wish, you can add the file to its
> parent directory's svn:ignore property, so it doesn't show up as '?'
> in the 'svn status' command.
> ----------

I'm pretty sure this is what I'm looking for. Thank you for all the
speedy replies.

Erich
Ruffdogs

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Dec 2 19:06:52 2004

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.