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

"svn add" "svn:ignore" help

From: Andrew Ochsner <aochsner_at_cs.stanford.edu>
Date: 2006-05-09 17:08:35 CEST

Hello:

I've tried searching to no avail for this issue, so I'm hoping someone can
help.

I'm running an automated build that needs to check in all of the folders and
files of a subdirectory. It needs to ignore all *.zip files, so I have
added svn:ignore *.zip to the properties of this subdirectory. There could
be new folders and files under this subdirectory, so I need to do an "svn
add" I basically want to do a --force so it goes into each folder whether
it's versioned or not and adds the files, but I want it to still ignore the
*.zip files. My subversion client is version 1.3.0 on Windows 2003 as well
as XP.

Example (if it looks familiar, I'm trying to get a snapshot of a Fitnesse
wiki):
In repository:
Directory (svn:ignore *.zip)
-->content.txt
-->properties.xml

In working directory:
Directory (svn:ignore *.zip)
-->content.txt
-->properties.xml
-->lots of *.zip files
-->New SubDirectory
------>content.txt
------>properties.xml
------>lots of *.zip files

What I want in the repository:
Directory
-->content.txt
-->properties.xml
-->New SubDirectory
------>content.txt
------>properties.xml

It could have many nesting subdirectories possibly.

Is there any way to do this? To basically update the Subversion repository
to be a snapshot of a working directory (which could have new folders and
files), but ignoring a set of files?

And it needs to be scriptable (i'm using exec tasks in an ant script).

Thank you in advance
Andy O
Received on Tue May 9 17:10:17 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.