How do I Automate Keeping my TortoiseSVN Project Up-to-date?
-
03-07-2019 - |
Question
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.
Solution
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
.
OTHER TIPS
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