如何隔离特定的颠覆版本? [英] How to quarantine a specific subversion revision?
问题描述
我有一个已提交给 SVN 主干的修订版,我想回滚它.但是,我想以某种方式保留更改,例如分支甚至补丁文件.有什么建议吗?
I have a revision that has been committed to SVN trunk which I would like to roll back. However, I would like to retain the changes in some fashion such as a branch or even a patch file. Any suggestions?
推荐答案
反向合并(我认为是这个词),提交,仅此而已.
Reverse-merge (I think that was the term), commit and that's all.
对于反向合并"部分 - TSVN 有一个很酷的功能,叫做恢复到这个版本"(和恢复这个版本的更改"),可以通过日志对话框访问.
For the "reverse-merge" part - TSVN has this cool feature called "Revert to this revision" (and "Revert changes from this revision"), accessible through the Log dialogue.
VCS 的主要目的是保留更改的历史记录.您始终可以使用更新到修订版..."或使用上述快捷方式"返回到此特定修订版.
The main purpose of a VCS is to keep history of your changes. You could always go back to this particular revision by using "Update to revision..." or by using the aforementioned "shortcuts".
这篇关于如何隔离特定的颠覆版本?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!