如何结合SVN提交? [英] How to combine SVN commits?

查看:28
本文介绍了如何结合SVN提交?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在我的 SVN 存储库中获取一系列提交并将它们组合起来?

How do I take a range of commits in my SVN repository and combine them?

例如,版本库中存在修订版 4-10,我想将它们组合成一个新的修订版 4,其中包含之前 4-10 中的所有更改.

For example, revisions 4-10 exist in the repository and I want to combine them into a new revision 4 that contains all the changes in the previous 4-10.

我不想破坏任何通过 svn copy 创建的现有标签.

I don't want to break any existing tags, which were created via svn copy.

这是因为存储库之前在 ClearCase 中,而 Polarion 的迁移工具留下了大量需要清理的单个文件提交.

This is because the repository was previously in ClearCase, and Polarion's migration tool left a huge number of single file commits that need to be cleaned up.

推荐答案

您可以在修订版 3 处创建分支并将修订版 4-10 合并到分支中

You can create a branch at revision 3 and merge revisions 4-10 into the branch

这篇关于如何结合SVN提交?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆