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.
我正在使用TortoiseSVN来保存在USB驱动器上的Subversion存储库。当我从一台PC移动到另一台PC时,有没有办法自动识别文件已过期(不使用Check for Modifications菜单)。能够看到我的硬盘驱动器上的文件夹与存储库中的文件夹不匹配,而不是看到绿色勾号,这将是很好的。
3 个解决方案
#1
3
Try creating a file called "autorun.inf" in the root directory of your USB key. Then fill it with the following lines:
尝试在USB密钥的根目录中创建名为“autorun.inf”的文件。然后用以下行填写:
[autorun]
open=CheckForMods.bat
Then create a CheckForMods.bat
batch file in the root directory that does an svn status -u
.
然后在根目录中创建一个执行svn status -u的CheckForMods.bat批处理文件。
#2
1
Create a batch file which automatically update your local working copy when the USB key is connected.
创建批处理文件,在连接USB密钥时自动更新本地工作副本。
#3
1
http://code.google.com/p/commitmonitor/
Commit Monitor, it has a portable version you can stick on your USB drive
提交监视器,它有一个便携版本,你可以坚持你的USB驱动器
#1
3
Try creating a file called "autorun.inf" in the root directory of your USB key. Then fill it with the following lines:
尝试在USB密钥的根目录中创建名为“autorun.inf”的文件。然后用以下行填写:
[autorun]
open=CheckForMods.bat
Then create a CheckForMods.bat
batch file in the root directory that does an svn status -u
.
然后在根目录中创建一个执行svn status -u的CheckForMods.bat批处理文件。
#2
1
Create a batch file which automatically update your local working copy when the USB key is connected.
创建批处理文件,在连接USB密钥时自动更新本地工作副本。
#3
1
http://code.google.com/p/commitmonitor/
Commit Monitor, it has a portable version you can stick on your USB drive
提交监视器,它有一个便携版本,你可以坚持你的USB驱动器