使用SVN merge将存储库回滚到以前的修订版
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了使用SVN merge将存储库回滚到以前的修订版相关的知识,希望对你有一定的参考价值。
1. Update your working copy to the latest revision.2. Merge a specific revision to your current working copy:
svn merge -rHEAD:xxxx [svn-repository-url] [path-to-local-copy]
* HEAD – indicates the revision of the local copy of the code is the latest revision.
* xxxx – is the revision which want to rollback.
* [svn-repository-url] - is the project's URL in SVN repository
* [path-to-local-copy] - is the path to the local copy of the project
3. Commit the changes which occurs as a result of above steps.
svn merge -r1234:1000 http://repository.url/projects/directory /LOCAL/repository/directory
以上是关于使用SVN merge将存储库回滚到以前的修订版的主要内容,如果未能解决你的问题,请参考以下文章