Tortoise SVN Making a past revision the new Head

馋奶兔 提交于 2019-12-04 06:43:46

问题


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.


回答1:


Rolling back to a previous revision is done via a reverse merge.

  1. Update your working copy to the latest revision
  2. Execute the following: svn merge URL_TO_LOCATION_IN_REPOSITORY . -r HEAD:PAST_REV_YOU_WANT
  3. Commit


来源:https://stackoverflow.com/questions/41625626/tortoise-svn-making-a-past-revision-the-new-head

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!