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

Telling SVN to ignore Changes to a file

From: Walden H. Leverich <WaldenL_at_techsoftinc.com>
Date: 2006-12-07 01:30:53 CET

We've got several files in our web application (web.config and
settings.xml in our case, in Java it would be a .properties file) that
we need to change the contents of based on the local machine we're
installed on. For example, one of the things in settings.xml is the path
on the local machine to store attachments uploaded through the
application.
 
I'm looking for a way to tell svn that changes to a particular file
aren't to be committed when I do my commits. This could be an svn thing,
or a TortoiseSVN thing since that's out interface.
 
snv:ignore doesn't seem to accomplish this. I'm thinking of something
along the lines of an svn:ignore-content-changed type flag which would
tell svn to ignore this file and not commit it if the content changed.
If a property changed then commit the property change. The result would
be if we did ever want to commit a change, we'd remove the flag, make
the change, and add back the flag.
 
Am I missing something obvious? Any suggestions?
 
-Walden
 

-- 
Walden H Leverich III
Tech Software
(516) 627-3800 x3051
WaldenL@TechSoftInc.com
http://www.TechSoftInc.com
<blocked::blocked::http://www.techsoftinc.com/> 
Quiquid latine dictum sit altum viditur.
(Whatever is said in Latin seems profound.)
 
Received on Thu Dec 7 01:31:40 2006

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.