开发者

Automatically add files to SVN inside a specific folder

开发者 https://www.devze.com 2023-02-20 00:53 出处:网络
I use TortoiseSVN to manage my SVN files. This all works quite well, but I have to开发者_StackOverflow manually add new files to SVN before I commit them.

I use TortoiseSVN to manage my SVN files. This all works quite well, but I have to开发者_StackOverflow manually add new files to SVN before I commit them.

In 99% of the cases that's exactly as wanted, but now I have a folder which contains logfiles that should be stored in SVN, but they are too dynamic to add them all manually.

So what I want is that I just commit the folder and all new files are automatically added and then committed.

I've seen a solution here, but not with TortoiseSVN.


In the TortoiseSVN Commit dialog, select the "Show unversioned files" checkbox and then check "Select / deselect all". Now all your unversioned files are added. This is the closest you can come to "automatic" in TorsoiseSVN.

Edit
Wait a moment, there are actually client side hook scripts in TortoiseSVN. You can probably add a "start commit hook" that runs svn add * in the desired folder.

0

精彩评论

暂无评论...
验证码 换一张
取 消