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

Re: svn not ignoring files

From: Ryan Schmidt <subversion-2008c_at_ryandesign.com>
Date: Sun, 27 Jul 2008 12:45:50 -0500

On Jul 27, 2008, at 12:27, Mansour wrote:

> I have checked out a project and did the modification I need.
> However, one of the files is for the production envorenment and I
> don't need to check in these modification. The files name is
> configurations.php. So I added this file to svn:ignore list. And
> when I did a commet all the modification were checked in. Is there
> any way that I can roll these changes out and prevent this from
> happening again?

Then I suppose configurations.php was already in the repository;
svn:ignore is only for ignoring files that are not in the repository.
You may want to consider not having configurations.php in the
repository; instead, put a template in the repository called
configurations.php.tmpl that users can copy to an unversioned file
configurations.php and modify, and then you svn:ignore
configurations.php so that it doesn't get committed to the
repository. See:


> I want to be able to extract the diff and take the patch to the
> production (live) server to apply it there. I am new to svn through
> the shell, but I have been using it for a while through eclipse.

To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-07-27 19:46:33 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.