如何自动使TortoiseSVN项目保持最新状态? [英] How do I Automate Keeping my TortoiseSVN Project Up-to-date?

查看:248
本文介绍了如何自动使TortoiseSVN项目保持最新状态?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我将TortoiseSVN用于保存在USB驱动器上的Subversion存储库。当我从一台PC移到另一台PC时,有一种方法可以自动识别文件是否过期(无需使用检查修改菜单)。能够看到我的硬盘驱动器上的文件夹与存储库的文件夹不匹配,而不是看到绿色的勾号,将是一个很好的选择。

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.

推荐答案

尝试创建一个名为 autorun.inf 的文件在USB密钥的根目录中。然后用以下几行填充它:

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

然后在执行以下操作的根目录中创建 CheckForMods.bat 批处理文件 svn状态-u

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

这篇关于如何自动使TortoiseSVN项目保持最新状态?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆