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

Re: svn:ignore on file already in version control?

From: Felix Gilcher <felix.gilcher_at_bitextender.com>
Date: Thu, 4 Dec 2008 16:24:07 +0100

Hi,

it's not possible to have an ignore on files that are under version
control. The standard way of doing this is naming the template file
something like settings.tpl or settings.dist and have the user copy it
to the real name. Then add a svn:ignore pattern on that filename.

cheers

felix

On Dec 4, 2008, at 12:28 PM, Eli Gibson wrote:

> I have a configuration file that holds local settings, which may be
> different for every working copy (mostly absolute paths that vary from
> machine to machine). I would like to have a template stored in the
> repository. When the repository is checked out, the user will get the
> template, and make modifications that are machine specific. However, I
> do not want these changes to be commited back over top of the template
> accidentally.
> I was hoping that adding a matching svn:ignore pattern to the
> directory containing the configuration file would prevent the changes
> from being committed, but that didn't seem to work. Should this have
> worked (i.e. did I just do it incorrectly), or if not, is there a
> better solution for the problem?
>
> Regards,
>
> --
> Eli Gibson
> Simon Fraser University
>
> ------------------------------------------------------
> http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=979570
>
> To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org
> ].
>

--
Felix Gilcher
Bitextender GmbH
Paul-Heyse-Str. 6
D-80336 München
T: +49 89 57 08 15 16
F: +49 89 57 08 15 17
M: +49 172 840 88 28
felix.gilcher_at_bitextender.com
http://bitextender.com/
Amtsgericht München, HRB 174280
Geschäftsführer: David Zülke, Florian Clever
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=979664
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].

  • application/pkcs7-signature attachment: smime.p7s
Received on 2008-12-04 16:27:56 CET

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.