Tortoise SVN 将过去的修订变成新的 Head [英] Tortoise SVN Making a past revision the new Head
本文介绍了Tortoise SVN 将过去的修订变成新的 Head的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
对于我的项目,我已在 Tortoise SVN 中恢复到过去的修订版.我希望过去的修订版成为新的 Head 修订版.我该怎么做?还原后更新不会更改还原的文件.
I have reverted to a past revision in Tortoise SVN for my project. I want the past revision to be the new Head revision. How do I go about doing that? Updating after the reversion did not change the files that were reverted.
推荐答案
回滚到以前的版本是通过 反向合并.
Rolling back to a previous revision is done via a reverse merge.
- 将您的工作副本更新到最新版本
- 执行以下操作:
svn merge URL_TO_LOCATION_IN_REPOSITORY .-r HEAD:PAST_REV_YOU_WANT
- 提交
这篇关于Tortoise SVN 将过去的修订变成新的 Head的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文