How do I Automate Keeping my TortoiseSVN Project Up-to-date?

妖精的绣舞 提交于 2019-12-06 07:32:36

问题


I am using TortoiseSVN for my Subversion repository held on a USB drive. When I move from one PC to another, is there a way to automatically identify that files are out of date (without using the Check for Modifications menu). It would be nice just to be able to see that the folder on my hard drive did not match that of the repository, rather than seeing the green tick.


回答1:


Try creating a file called "autorun.inf" in the root directory of your USB key. Then fill it with the following lines:

[autorun]
open=CheckForMods.bat

Then create a CheckForMods.bat batch file in the root directory that does an svn status -u.




回答2:


Create a batch file which automatically update your local working copy when the USB key is connected.




回答3:


http://code.google.com/p/commitmonitor/

Commit Monitor, it has a portable version you can stick on your USB drive



来源:https://stackoverflow.com/questions/218904/how-do-i-automate-keeping-my-tortoisesvn-project-up-to-date

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!