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

Re: Is there excludes on implicit checkins?

From: Francois Beausoleil <fbos_at_users.sourceforge.net>
Date: 2004-03-26 14:39:05 CET

Hi !

On Fri, 26 Mar 2004 08:00:17 -0500, "Glanville, Jay"
<Jay.Glanville@NaturalConvergence.com> said:
> Hello all.
> Let me give you an example. Here's a file structure:
> root
> + properties
> | + foo.properties
> | + foo.java
> + headers
> + foo.h
> Lets say that I need to modify foo.properties in order to get the
> application running. I've also modified foo.java and foo.h (plus about
> 50 other files) as part of my work. I want to be able to go to the root
> directory and perform an implicit checkin (svn ci -m "reason" root), but
> WITHOUT checking in foo.properties.

I had the exact same problem. What I ended up doing was creating
*.properties.sample files. The sample files are under version control,
and I svn:ignore the *.properties file. Whenever I change something to
the property file, nothing gets committed. If I change something to the
sample file, bingo !, things get to the repository.

Now, if only my build system would read my mind and know when it should
copy the diffs from *.properties to *.properties.sample :)

Bye !
François

Developer of Java Gui Builder
http://jgb.sourceforge.net/

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Mar 26 14:39:38 2004

This is an archived mail posted to the Subversion Users mailing list.