Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can I have TortoiseSVN auto-add files?

Is there a way to have TortoiseSVN (or any other tool) auto-add any new .cs files I create within a directory to my working copy so I don't have to remember which files I created at the end of the day?

like image 359
George Mauer Avatar asked Sep 08 '08 21:09

George Mauer


2 Answers

I would probably make a batch file, something like this (untested):

dir /b /S *.cs > allcsfiles.txt
svn add --targets allcsfiles.txt

I believe svn won't mind you trying to add files which are already versioned..

Anyway, that's probably about as automatic as you will easily get.

like image 111
Blorgbeard Avatar answered Nov 08 '22 03:11

Blorgbeard


svn add --force --auto-props [Path to check in]

Worked ok for me.

-Jet

like image 1
Jet Avatar answered Nov 08 '22 03:11

Jet