tags:

views:

78

answers:

2

I have a folder, called "files". It's already in the repository. Now, new files are constantly added to this folder and it's subfolder. What command can I type to add all the files that have not yet been added. This does NOT work:

svn add files

It says

svn: warning: 'files' is already under version control

+2  A: 
svn add files/*

or I think this should work also:

svn add --force files

(taken from SVN book)

krzyk
Thanks. So simple! u rock! :-)
RD
+2  A: 

If you'd like to add all files in a folder, including all subfolders, this is a really handy script:

svn status | awk '{if ($1 == "?") print $2 }' | xargs svn add
Olly