Reputation: 122042
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?
Upvotes: 12
Views: 6635
Reputation: 103437
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.
Upvotes: 3
Reputation: 10153
Yes, you can add a bat file to svn (on the installed server) so that anytime you update a particular branch, that change get mimicked.. I believe its called hooks...
I hope this is what you meant.
Upvotes: 0
Reputation: 103437
If you just commit your working copy, you'll get a file list showing you your unversioned files, which you can tick to add as you commit. You don't have to add them explicitly before you commit.
Upvotes: 10