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.
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
.
Create a batch file which automatically update your local working copy when the USB key is connected.
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