OH-SCM-009:同步时出错。没有签入文件
OH-SCM-009: Error occurred while sync. No files checked in
我尝试将 TFS 2012 在线迁移到 Visual Studio。我使用 OpsHub v1.1.0.005 工具,但收到以下错误消息:
OH-SCM-009:同步时出错。没有签入文件。
这是日志文件的示例:
2015-04-19 19:24:33,072 [22] DEBUG [De-bug]Conflict Count: 1
2015-04-19 19:24:33,072 [22] DEBUG [De-bug | Conflict]
Message:TF203057: Cannot check in the rename change for folder
$/Pueblo/Main/Service/Dispatch because there are files or folders in
this folder with pending rename or delete changes. You must check in
the rename and delete changes together.
2015-04-19 19:24:33,072 [22] DEBUG [De-bug | Conflict] Is
Resolveable?:False
2015-04-19 19:24:33,072 [22] DEBUG [De-bug | Conflict]
Item:$/Pueblo/Main/Service/Dispatch
2015-04-19 19:24:33,072 [22] DEBUG [De-bug]Note Failures Count: 0
2015-04-19 19:24:33,072 [22] DEBUG [De-bug]Policy Failures Count: 0
2015-04-19 19:24:33,165 [11] DEBUG run cnt : 0
2015-04-19 19:24:33,181 [11] DEBUG suite cnt : 0
2015-04-19 19:24:33,181 [11] DEBUG result cnt : 0
2015-04-19 19:24:43,680 [22] DEBUG Exception in thread of CheckinALL
process.
2015-04-19 19:24:44,382 [27] ERROR Error occured in thread of
CheckinAll:No files checked in. at
Microsoft.TeamFoundation.VersionControl.Client.Client.ReportCheckInConflictsFailuresAndThrow(Workspace
workspace, CheckinResult checkinResult, Failure[] conflicts, Failure[]
failures, Boolean noAutoResolve, Int32 operationId) at
Microsoft.TeamFoundation.VersionControl.Client.Workspace.CheckInInternal(WorkspaceCheckInParameters
parameters, Int32 operationId) at
Microsoft.TeamFoundation.VersionControl.Client.Workspace.CheckIn(WorkspaceCheckInParameters
checkinParameters) at
Service.Adapters.TFSCheckinWorkspaceContext.checkin(String comment,
WorkItemCheckinInfo[] workItemChanges, List1 otherCheckInProperties,
String checkinUser) in f:\Ashish Docs\Checkouts\OVSMU
Branch\OpsHubV2\TFSWCFServiceSource\Service\Service\TFSVersionControl\AdapterComponents\TFSCheckinWorkspaceContext.cs:line
2372 at Service.Adapters.TFSVCAdapter.checkIn(List1 checkinItems,
String checkinComment, String checkinUser, List1 workitemId, List1
otherCheckInProperties) in f:\Ashish Docs\Checkouts\OVSMU
Branch\OpsHubV2\TFSWCFServiceSource\Service\Service\TFSVersionControl\AdapterComponents\TFSVCAdapter.cs:line
123 at
com.opshub.tfs.test.TFSWebService.<>c__DisplayClass2.b__0()
in f:\Ashish Docs\Checkouts\OVSMU
Branch\OpsHubV2\TFSWCFServiceSource\Service\Service\TFSWebService.cs:line
692 2015-04-19 19:24:44,850 [27] ERROR Error : No files checked in.
at com.opshub.tfs.test.TFSWebService.CheckinAllStatus(String
authToken) in f:\Ashish Docs\Checkouts\OVSMU
Branch\OpsHubV2\TFSWCFServiceSource\Service\Service\TFSWebService.cs:line
736
此问题已在 OpsHub v1.2.0.000 的新内部版本中修复
这是安装新版本的过程:
1) 删除 Visual Studio 在线实例中您未能迁移或在先前尝试中遇到错误的所有项目。
2) 重新创建在步骤 1 中删除的所有项目
3) 删除 O: 驱动器的所有内容(以及已由 OpsHub 实用程序映射的任何其他附加驱动器)
4) 打开Visual Studio(在同一台机器上)并连接到VSO。在源代码管理资源管理器中的工作区下,删除名称以 "OH-*******".
开头的所有工作区
5) 关闭所有 TFS 产品(Visual Studio、MTM 等)并删除所有内容
%localappdata%\Microsoft\Team Foundation.0\Cache
%localappdata%\Microsoft\Team Foundation.0\Cache
%localappdata%\Microsoft\Team Foundation.0\Cache
6) 卸载当前版本的迁移实用程序并删除 "C:\Program Files\OpsHub Visual Studio Online Migration Utility" 文件夹(如果找到)。
7) 安装迁移实用程序的版本
8) 配置并开始迁移您的项目
我尝试将 TFS 2012 在线迁移到 Visual Studio。我使用 OpsHub v1.1.0.005 工具,但收到以下错误消息:
OH-SCM-009:同步时出错。没有签入文件。
这是日志文件的示例:
2015-04-19 19:24:33,072 [22] DEBUG [De-bug]Conflict Count: 1
2015-04-19 19:24:33,072 [22] DEBUG [De-bug | Conflict] Message:TF203057: Cannot check in the rename change for folder $/Pueblo/Main/Service/Dispatch because there are files or folders in this folder with pending rename or delete changes. You must check in the rename and delete changes together.
2015-04-19 19:24:33,072 [22] DEBUG [De-bug | Conflict] Is Resolveable?:False
2015-04-19 19:24:33,072 [22] DEBUG [De-bug | Conflict] Item:$/Pueblo/Main/Service/Dispatch
2015-04-19 19:24:33,072 [22] DEBUG [De-bug]Note Failures Count: 0
2015-04-19 19:24:33,072 [22] DEBUG [De-bug]Policy Failures Count: 0
2015-04-19 19:24:33,165 [11] DEBUG run cnt : 0
2015-04-19 19:24:33,181 [11] DEBUG suite cnt : 0
2015-04-19 19:24:33,181 [11] DEBUG result cnt : 0
2015-04-19 19:24:43,680 [22] DEBUG Exception in thread of CheckinALL process.
2015-04-19 19:24:44,382 [27] ERROR Error occured in thread of CheckinAll:No files checked in. at Microsoft.TeamFoundation.VersionControl.Client.Client.ReportCheckInConflictsFailuresAndThrow(Workspace workspace, CheckinResult checkinResult, Failure[] conflicts, Failure[] failures, Boolean noAutoResolve, Int32 operationId) at Microsoft.TeamFoundation.VersionControl.Client.Workspace.CheckInInternal(WorkspaceCheckInParameters parameters, Int32 operationId) at Microsoft.TeamFoundation.VersionControl.Client.Workspace.CheckIn(WorkspaceCheckInParameters checkinParameters) at Service.Adapters.TFSCheckinWorkspaceContext.checkin(String comment, WorkItemCheckinInfo[] workItemChanges, List1 otherCheckInProperties, String checkinUser) in f:\Ashish Docs\Checkouts\OVSMU Branch\OpsHubV2\TFSWCFServiceSource\Service\Service\TFSVersionControl\AdapterComponents\TFSCheckinWorkspaceContext.cs:line 2372 at Service.Adapters.TFSVCAdapter.checkIn(List1 checkinItems, String checkinComment, String checkinUser, List1 workitemId, List1 otherCheckInProperties) in f:\Ashish Docs\Checkouts\OVSMU Branch\OpsHubV2\TFSWCFServiceSource\Service\Service\TFSVersionControl\AdapterComponents\TFSVCAdapter.cs:line 123 at com.opshub.tfs.test.TFSWebService.<>c__DisplayClass2.b__0() in f:\Ashish Docs\Checkouts\OVSMU Branch\OpsHubV2\TFSWCFServiceSource\Service\Service\TFSWebService.cs:line 692 2015-04-19 19:24:44,850 [27] ERROR Error : No files checked in.
at com.opshub.tfs.test.TFSWebService.CheckinAllStatus(String authToken) in f:\Ashish Docs\Checkouts\OVSMU Branch\OpsHubV2\TFSWCFServiceSource\Service\Service\TFSWebService.cs:line 736
此问题已在 OpsHub v1.2.0.000 的新内部版本中修复
这是安装新版本的过程:
1) 删除 Visual Studio 在线实例中您未能迁移或在先前尝试中遇到错误的所有项目。
2) 重新创建在步骤 1 中删除的所有项目
3) 删除 O: 驱动器的所有内容(以及已由 OpsHub 实用程序映射的任何其他附加驱动器)
4) 打开Visual Studio(在同一台机器上)并连接到VSO。在源代码管理资源管理器中的工作区下,删除名称以 "OH-*******".
开头的所有工作区5) 关闭所有 TFS 产品(Visual Studio、MTM 等)并删除所有内容 %localappdata%\Microsoft\Team Foundation.0\Cache %localappdata%\Microsoft\Team Foundation.0\Cache %localappdata%\Microsoft\Team Foundation.0\Cache
6) 卸载当前版本的迁移实用程序并删除 "C:\Program Files\OpsHub Visual Studio Online Migration Utility" 文件夹(如果找到)。
7) 安装迁移实用程序的版本
8) 配置并开始迁移您的项目