本文介绍了OH-SCM-009:同步时发生错误.没有签入文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我尝试将TFS 2012联机迁移到Visual Studio.我使用工具OpsHub v1.1.0.005,但收到以下错误消息:

I try to migrate TFS 2012 to Visual Studio online. I use the tool OpsHub v1.1.0.005 but I received the following error message:

OH-SCM-009:同步时发生错误.没有签入任何文件.

OH-SCM-009: Error occurred while sync. No files checked in.

以下是日志文件的示例:

Here is a sample of the log file:

2015-04-19 19:24:33,072 [22]调试[调试|冲突] 消息:TF203057:无法签入文件夹的重命名更​​改 $/Pueblo/Main/Service/Dispatch,因为其中有文件或文件夹 此文件夹具有待处理的重命名或删除更改.您必须签入 重新命名和删除更改.

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]调试[调试|冲突]是 可解决?:假

2015-04-19 19:24:33,072 [22] DEBUG [De-bug | Conflict] Is Resolveable?:False

2015-04-19 19:24:33,072 [22]调试[调试|冲突] Item:$/Pueblo/Main/Service/Dispatch

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]调试[调试]注释失败计数:0

2015-04-19 19:24:33,072 [22] DEBUG [De-bug]Note Failures Count: 0

2015-04-19 19:24:33,072 [22]调试[De-bug]策略失败计数:0

2015-04-19 19:24:33,072 [22] DEBUG [De-bug]Policy Failures Count: 0

2015-04-19 19:24:33,165 [11]调试运行cnt: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 suite cnt : 0

2015-04-19 19:24:33,181 [11]调试结果cnt:0

2015-04-19 19:24:33,181 [11] DEBUG result cnt : 0

2015-04-19 19:24:43,680 [22] CheckinALL线程中的DEBUG异常 过程.

2015-04-19 19:24:43,680 [22] DEBUG Exception in thread of CheckinALL process.

2015-04-19 19:24:44,382 [27]错误在的线程中发生错误 CheckinAll:未检入任何文件. Microsoft.TeamFoundation.VersionControl.Client.Client.ReportCheckInConflictsFailuresAndThrow(工作区 工作区,CheckinResult checkinResult,Failure []冲突,Failure [] 失败,布尔值noAutoResolve,Int32 operationId),位于 Microsoft.TeamFoundation.VersionControl.Client.Workspace.CheckInInternal(WorkspaceCheckInParameters 参数,即Int32 operationId) Microsoft.TeamFoundation.VersionControl.Client.Workspace.CheckIn(WorkspaceCheckInParameters checkinParameters) Service.Adapters.TFSCheckinWorkspaceContext.checkin(字符串注释, WorkItemCheckinInfo [] workItemChanges,List1 otherCheckInProperties, f:\ Ashish Docs \ Checkouts \ OVSMU中的字符串checkinUser) 分支\ OpsHubV2 \ TFSWCFServiceSource \ Service \ Service \ TFSVersionControl \ AdapterComponents \ TFSCheckinWorkspaceContext.cs:line 2372 at Service.Adapters.TFSVCAdapter.checkIn(List1 checkinItems, 字符串checkinComment,字符串checkinUser,List1 workitemId,List1 f:\ Ashish Docs \ Checkouts \ OVSMU中的otherCheckInProperties) 分支\ OpsHubV2 \ TFSWCFServiceSource \ Service \ Service \ TFSVersionControl \ AdapterComponents \ TFSVCAdapter.cs:line 123点 com.opshub.tfs.test.TFSWebService.<> c__DisplayClass2.b__0() 在f:\ Ashish Docs \ Checkouts \ OVSMU中 分支\ OpsHubV2 \ TFSWCFServiceSource \ Service \ Service \ TFSWebService.cs:line 692 2015-04-19 19:24:44,850 [27]错误错误:未签入任何文件.
在com.opshub.tfs.test.TFSWebService.CheckinAllStatus(String f:\ Ashish Docs \ Checkouts \ OVSMU中的authToken) 分支\ OpsHubV2 \ TFSWCFServiceSource \ Service \ Service \ TFSWebService.cs:line 736

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的新内部版本中解决.

The issue is fixed in a new internal build of OpsHub v1.2.0.000

这是安装新版本的过程:

This is the procedure to install the new version:

1)删除Visual Studio Online实例中所有迁移失败或在较早尝试中遇到错误的项目.

1) Delete the all the Projects in your Visual Studio Online Instance which you failed to migrate or encounter error in earlier attempt.

2)在步骤1中重新创建所有已删除的项目

2) Re-create all the deleted project in step 1

3)删除O:驱动器的所有内容(以及由OpsHub实用程序映射的其他任何其他驱动器)

3) Delete all the content of O: drive (as well as any other additional drive that has been mapped by the OpsHub utility)

4)打开Visual Studio(在同一台计算机上)并连接到VSO.在Source Control Explorer中,在工作区"下,删除所有名称以"OH-*******"开头的工作区.

4) Open Visual Studio (on the same machine) and connect to VSO. In Source Control Explorer, under Workspaces, delete all the workspace with name starting with "OH-*******".

5)关闭所有TFS产品(Visual Studio,MTM等)并删除其中的所有内容 %localappdata%\ Microsoft \ Team Foundation \ 3.0 \ Cache %localappdata%\ Microsoft \ Team Foundation \ 4.0 \ Cache %localappdata%\ Microsoft \ Team Foundation \ 5.0 \ Cache

5) Close all TFS products (Visual Studio, MTM etc) and delete all contents of %localappdata%\Microsoft\Team Foundation\3.0\Cache %localappdata%\Microsoft\Team Foundation\4.0\Cache %localappdata%\Microsoft\Team Foundation\5.0\Cache

6)卸载当前版本的迁移实用程序,如果找到,则删除"C:\ Program Files \ OpsHub Visual Studio在线迁移实用程序"文件夹.

6) Uninstall the current version of migration utility and Delete the "C:\Program Files\OpsHub Visual Studio Online Migration Utility" folder if found.

7)安装迁移实用程序的版本

7) Install the Version of migration utility

8)配置并开始迁移项目

8) Configure and start migrating you projects

这篇关于OH-SCM-009:同步时发生错误.没有签入文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-29 05:09