【发布时间】:2013-12-16 15:48:23
【问题描述】:
我编写了一个控制台应用程序,它使用 SharpSVN 来更新我的存储库中的 3 个文件夹。想将其转换为批处理脚本以消除对 SharpSVN 的依赖。
想出了这个:
CD C:\Program Files\TortoiseSVN\bin\
START TortoiseProc.exe /command:update /path:"C:\AMG\trunk\AMG_AccountManager\AMC\Core" /closeonend:0
START TortoiseProc.exe /command:update /path:"C:\AMG\trunk\AMG_AccountManager\AMC\Modules" /closeonend:0
START TortoiseProc.exe /command:update /path:"C:\AMG\trunk\AMG_AccountManager\MW" /closeonend:0
我找到了this as an answer to another SO question。当我运行它时,我会从 Tortoise 中弹出 3 个窗口。
有人说:
Error: Working copy 'C:\AMG\trunk\AMG_AccountManager\AMC' locked.
Error: 'C:\AMG\trunk\AMG_AccountManager\AMC' is already locked.
第二个说:
Error: Working copy 'C:\AMG\trunk\AMG_AccountManager' locked.
Error: 'C:\AMG\trunk\AMG_AccountManager\AMC' is already locked.
第三个成功更新了 Modules 文件夹。有谁知道是什么导致前两个被锁定?
【问题讨论】:
标签: svn batch-file tortoisesvn