Periodically I would like to add all unversioned files to the
repository (excluding files matching patterns set in the svn:ignore
property). I don't want to have to remember every new file (some of
them are generated by other programs) and add it manually.
I thought that
svn add * --force
would do what I want. But it adds everything, including files that I
have excluded using the svn:ignore property.
I should probably ask here if I set that property correctly; I set the
property by doing this:
svn propset svn:ignore -F svnignore .
where svnignore is a file that contains newline-separated patterns of
files to ignore. Here, in case I have screwed up royally and this will
help diagnose it, is the contents of that file:
ignore.sh
svnignore
log/*
config/*
config/environments/*
db/*.sh
So, the question is how to automatically add to the repository all
unversioned files that do not match any of the patterns in the
svn:ignore property. It would also be nice if I could see a list of
such files before doing the add, in case there is stuff that should
not be added.
I looked at several of the GUI svn clients (svnX, jsvn, rapidsvn,
etc.) and they didn't seem to be able to do this either. Can anyone
help?
Thanks
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sun Feb 12 03:40:31 2006