TFS回滚是否也会还原检入日期?

huangapple go评论93阅读模式
英文:

Will TFS Rollback also revert the check-in date?

问题

使用VS 2019,我提交了对dtsx包的一些更改。更改集历史如下所示;我的更改集是4021

更改集 更改 用户 日期 路径
4021 编辑 Joe Smith 2/8/23 $/dev/ReadFile.dtsx
3816 编辑 Harry Joe 9/2/22 $/dev/ReadFile.dtsx

我想回滚到更改集3816,但我也想从历史记录中删除更改集4021

这是否可能?我理解回滚将还原ReadFile.dtsx到我选择的更改集,但似乎我必须再次提交,这将添加另一个更改集。

英文:

With VS 2019, I checked in some changes that I made to a dtsx package. The changeset history looks like below; my changeset is 4021:

Changeset    Change    User        Date    Path
4021         Edit      Joe Smith   2/8/23  $/dev/ReadFile.dtsx
3816         Edit      Harry Joe   9/2/22  $/dev/ReadFile.dtsx

I want to rollback to changeset 3816, but I also want to remove changeset 4021 from the History.

Is this possible? I understand that the rollback will revert ReadFile.dtsx to the changeset that I selected, but it seems that I have to check-in again, which will add another changeset.

答案1

得分: 1

No, you cannot delete a changeset from history*. The rollback command will reverse the change as a new checkin, and History will be preserved.

'*' you might be able to if you go poking around in the TFS database, but this is dangerous and should not be attempted.

英文:

No, you cannot delete a changeset from history*. The rollback command will reverse the change as a new checkin and History will be preserved.

'*' you might be able to if you go poking around in the TFS database, but this is dangerous and should not be attempted.

huangapple
  • 本文由 发表于 2023年2月9日 00:01:59
  • 转载请务必保留本文链接:https://go.coder-hub.com/75388489.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定