我有以上标题中的配置。我正在使用TFS门控签入功能,如果我使用TFS工具来签入我的更改,它可以正常工作。
--我对其工作方式理解的回顾:
我的更改被门控签入所截获,并放入一个搁置集。搁置集由构建服务器解压、构建、单元测试运行,并通过附加到签入注释末尾的NO CI签入。完成所有这些操作后,将出现协调工作区的提示符。
使用TortoiseSvn:
只要没有设置门控签入,我就可以提交代码和更新代码。
设置了门控签入后,TFS服务器将发回500个错误(请参见下面的异常),tortoiseSvn客户端显示下面标记的错误,尽管签入进程仍在继续。构建服务器构建、运行测试,并且提交代码时没有问题,但这非常烦人,很难说服其他开发人员使用,因为您在提交时得到了错误,然后必须对代码执行更新才能得到构建服务器实际提交的更改。
谢谢你的任何想法或帮助。
TortoiseSvn错误
错误:提交失败(详细信息如下):
错误:服务器发送意外返回值(500内部服务器错误)以响应
错误:对'/mil-tfsprd-01/Inst%20Trading%20Support/Source/Main/ODS/Eliminator/Eliminator的合并请求
堆栈从SoapException跟踪
System.Web.Services.Protocols.SoapException: Your check-in has been placed into shelveset Gated_2011-09-22_10.26.49.8403;US\RPieper and submitted for validation by build definition \Inst Trading Support\Eliminator.
at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
at CodePlex.TfsLibrary.RepositoryWebSvc.Repository.CheckIn(String workspaceName, String ownerName, String[] serverItems, Changeset info, CheckinNotificationInfo checkinNotificationInfo, CheckinOptions checkinOptions, Failure[]& failures)
at CodePlex.TfsLibrary.ObjectModel.SourceControlService.<>c__DisplayClass4.<Commit>b__3()
at CodePlex.TfsLibrary.ObjectModel.SourceControlService.WrapWebException[T](WrapWebExceptionDelegate`1 function)
at CodePlex.TfsLibrary.ObjectModel.SourceControlService.Commit(String tfsUrl, ICredentials credentials, String workspaceName, String comment, IEnumerable`1 serverItems)
at SvnBridge.SourceControl.TFSSourceControlProvider.<>c__DisplayClass18.<MergeActivity>b__17(Activity activity)
at SvnBridge.SourceControl.ActivityRepository.Use(String activityId, Action`1 action)
at SvnBridge.SourceControl.TFSSourceControlProvider.MergeActivity(String activityId)
at SvnBridge.Proxies.RemotingInvocation.Proceed()
at SvnBridge.Proxies.TracingInterceptor.Invoke(IInvocation invocation)
at SvnBridge.Proxies.RemotingInvocation.Proceed()
at SvnBridge.Proxies.RetryOnExceptionsInterceptor`1.Invoke(IInvocation invocation)
at SvnBridge.Proxies.RemotingInvocation.Proceed()
at SvnBridge.Proxies.ProxyFactory.RemotingProxy.Invoke(IMessage msg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at SvnBridge.SourceControl.TFSSourceControlProvider.MergeActivity(String activityId)
at SvnBridge.Handlers.MergeHandler.Handle(IHttpContext context, TFSSourceControlProvider sourceControlProvider)
at SvnBridge.Handlers.RequestHandlerBase.Handle(IHttpContext context, IPathParser pathParser, NetworkCredential credentials)
at SvnBridge.Net.HttpContextDispatcher.Dispatch(IHttpContext connection)
at SvnBridge.Net.Listener.Process(TcpClient tcpClient)
at SvnBridge.Net.Listener.Accept(IAsyncResult asyncResult)发布于 2011-09-23 14:16:44
SvnBridge不支持门控签入--正如您注意到的,您将回到这种行为。
如果您只对Tortoise使用SvnBridge,则可能需要检查TFS集成到Windows中,后者提供了对TFS的本地访问,而不是通过桥接。它可以在电动工具中使用。
https://stackoverflow.com/questions/7519558
复制相似问题