When I run
svn st
on my working copy I get some "?" entries which are located in subdirectories of working copy root. I want to add all of them to the repository. I try:
svn add --force .
and
svn add --force *
but it doesn't work.
WORKING SOLUTION:
svn add --depth=infinity --force *
Edit These files exist in a directory tree so adding * for one directory will not work. @your edit: So then provide multiple paths to add like: svn add dir1/* dir2/* dir3/* or as many have mentioned grep the ouput of svn stat from the root and pipe it to cut or awk and then to add.
Right Click the new repo and choose SVN Repo Browser. Right click 'trunk' Choose ADD Folder... and point to your folder structure of your project in development. Click OK and SVN will ADD your folder structure in.
right drag them to the new location inside the working copy. release the right mouse button. select Context Menu → SVN Add files to this WC. The files will then be copied to the working copy and added to version control.
Don't know if it work in windows, but you could try:
svn add --depth=infinity *
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With