首页 \ 问答 \ 我应该如何从TFS2008升级到TFS2010(How should I proceed to upgrade from TFS2008 to TFS2010)

我应该如何从TFS2008升级到TFS2010(How should I proceed to upgrade from TFS2008 to TFS2010)

我们有一个包含多个团队项目的TFS2008服务器(大约20个)在不丢失历史记录的情况下迁移到TFS2010的最佳方法是什么。

我相信有两种方法,如果我错了,请纠正我:

  • 安装新的tfs2010并从TFS 2008 导入数据库
    要么
  • 就地升级

你的建议是什么?为什么? 我应该准备好面对任何问题吗?
欢迎任何建议。


We have a TFS2008 server with multiple team projects (about 20) What is the best way to migrate to TFS2010 without losing the history.

I believe there are 2 ways, correct me if I'm wrong:

  • installing a fresh tfs2010 and importing the DB from TFS 2008
    or
  • in-place upgrade.

What is your recommendation and why? Are there any issue I should be prepared to face?
Any advice is welcome.


原文:https://stackoverflow.com/questions/2808711
更新时间:2022-08-09 12:08

最满意答案

解决方案(如此处所示 )是从onFulfilled函数return nullonFulfilled函数不返回任何其他函数。

例如:

.then(data=> {
    console.log("success");
})

应该是:

.then(data=> {
    console.log("success");
    return null;
})

The solution (as suggested here) is to return null from onFulfilled functions that don't return anything else.

For example:

.then(data=> {
    console.log("success");
})

Should probably be:

.then(data=> {
    console.log("success");
    return null;
})

相关问答

更多
  • Promise就像任何其他Javascript对象一样被垃圾收集的Javascript对象。 因此,只要您不会无限期地保留对promises的引用,就会像其他对象一样在不再使用它们时进行垃圾收集。 因此,在您的特定示例中,只要您的计时器仍在运行,或者.connectToAddressAndService()仍在执行某些操作并且可能仍然能够拒绝或解析(意味着它仍然具有实时引用.connectToAddressAndService() ,您在函数中显示的状态将保持活动状态解决或拒绝处理程序)。 计时器显然具有1 ...
  • getPromise2()调用会立即创建promise; 它然后被忽略传递给then而不是回调。 要实际链接它们,您需要使用 function mainFunc(param1, param2) { return getPromise1(param1, param2).then(function(promise1result) { return getPromise2(param1, param2); }); } The getPromise2() call immediat ...
  • 欢迎来到美好的承诺世界。 如何在你的例子中工作 你在1断言是正确的。 我们可以模拟一个Promise.resolve解决蓝鸟使用Promise.resolve一个值。 让我们展示一下: 让我们得到一个返回承诺的函数: function foo(){ return Promise.resolve("Value"); } foo().then(alert); 这个简短的片段会提醒我们看到 "Value" 。 现在,我们再创造两个承诺,每个承诺都会提醒和返回不同的值。 function tas ...
  • 那么,我假设你不明确提及它,因为这将迫使它保持分配。 我可以想到的最简单的测试实际上是分配很多承诺,而不是解决它们: var $q = angular.injector(["ng"]).get("$q"); setInterval(function () { for (var i = 0; i < 100; i++) { var $d = $q.defer(); $d.promise; } }, 10); 然后观看堆本身。 我们可以在Chrome剖析工具中看 ...
  • 解决方案(如此处所示 )是从onFulfilled函数return null , onFulfilled函数不返回任何其他函数。 例如: .then(data=> { console.log("success"); }) 应该是: .then(data=> { console.log("success"); return null; }) The solution (as suggested here) is to return null from onFulfilled fun ...
  • cancellable()创建可取消的promises,只有在没有任何理由调用cancel函数时,它们默认抛出CancellationError 。 在您的情况下,您只有在附加catch处理程序后才能cancellable承诺。 但承诺尚未cancellable 。 因此, cancel函数调用不会引发Promise.CancellationError 。 您需要更改代码的结构,如下所示 then(function(..) { ... }) .cancellable() .catch(Promise ...
  • 看起来TSLint包含一个设置,用于指示在await表达式中将哪些类型视为promises: https://palantir.github.io/tslint/rules/await-promise/ 我自己没试过,但看起来你应该可以使用它来等待Bluebird的承诺: "await-promise": [true, "Bluebird"] It looks like TSLint contains a setting for indicating which types to treat as pro ...
  • 不,那里没有。 您当然可以使用默认方法 ,但您不需要。 在进行繁重处理并异步获取值时,您希望获得该值的承诺。 您不需要将结果值设置为原始实例的属性。 MyObject.prototype.getValue = function () { return new Promise(function(resolve) { // lots of processing to make a `value` resolve(value); // no `this` at all! ...
  • Promise.resolve 确实传播错误。 你的问题似乎是catch在他们达成resolve之前处理它们。 你应该这样做 function count(params, done){ return Promise.resolve(client.count({ "index": config.search.index + "_" + params.index })).then(function(response){ logger.debug(response); return ...
  • 为了能够使用您创建的Promise,您需要分别通过调用每个函数来解析和/或拒绝Promise。 var promise = new Promise(function(resolve, reject)) { if (someWork) resolve(1); if (!someWork) reject(2); } promise.then(function(data) { console.log(data); // 1 }); In order to be able to ...

相关文章

更多

最新问答

更多
  • 您如何使用git diff文件,并将其应用于同一存储库的副本的本地分支?(How do you take a git diff file, and apply it to a local branch that is a copy of the same repository?)
  • 将长浮点值剪切为2个小数点并复制到字符数组(Cut Long Float Value to 2 decimal points and copy to Character Array)
  • OctoberCMS侧边栏不呈现(OctoberCMS Sidebar not rendering)
  • 页面加载后对象是否有资格进行垃圾回收?(Are objects eligible for garbage collection after the page loads?)
  • codeigniter中的语言不能按预期工作(language in codeigniter doesn' t work as expected)
  • 在计算机拍照在哪里进入
  • 使用cin.get()从c ++中的输入流中丢弃不需要的字符(Using cin.get() to discard unwanted characters from the input stream in c++)
  • No for循环将在for循环中运行。(No for loop will run inside for loop. Testing for primes)
  • 单页应用程序:页面重新加载(Single Page Application: page reload)
  • 在循环中选择具有相似模式的列名称(Selecting Column Name With Similar Pattern in a Loop)
  • System.StackOverflow错误(System.StackOverflow error)
  • KnockoutJS未在嵌套模板上应用beforeRemove和afterAdd(KnockoutJS not applying beforeRemove and afterAdd on nested templates)
  • 散列包括方法和/或嵌套属性(Hash include methods and/or nested attributes)
  • android - 如何避免使用Samsung RFS文件系统延迟/冻结?(android - how to avoid lag/freezes with Samsung RFS filesystem?)
  • TensorFlow:基于索引列表创建新张量(TensorFlow: Create a new tensor based on list of indices)
  • 企业安全培训的各项内容
  • 错误:RPC失败;(error: RPC failed; curl transfer closed with outstanding read data remaining)
  • C#类名中允许哪些字符?(What characters are allowed in C# class name?)
  • NumPy:将int64值存储在np.array中并使用dtype float64并将其转换回整数是否安全?(NumPy: Is it safe to store an int64 value in an np.array with dtype float64 and later convert it back to integer?)
  • 注销后如何隐藏导航portlet?(How to hide navigation portlet after logout?)
  • 将多个行和可变行移动到列(moving multiple and variable rows to columns)
  • 提交表单时忽略基础href,而不使用Javascript(ignore base href when submitting form, without using Javascript)
  • 对setOnInfoWindowClickListener的意图(Intent on setOnInfoWindowClickListener)
  • Angular $资源不会改变方法(Angular $resource doesn't change method)
  • 在Angular 5中不是一个函数(is not a function in Angular 5)
  • 如何配置Composite C1以将.m和桌面作为同一站点提供服务(How to configure Composite C1 to serve .m and desktop as the same site)
  • 不适用:悬停在悬停时:在元素之前[复制](Don't apply :hover when hovering on :before element [duplicate])
  • 常见的python rpc和cli接口(Common python rpc and cli interface)
  • Mysql DB单个字段匹配多个其他字段(Mysql DB single field matching to multiple other fields)
  • 产品页面上的Magento Up出售对齐问题(Magento Up sell alignment issue on the products page)