简体   繁体   English

Subversion重新整合mergeinfo反向合并-如何撤消?

[英]Subversion reintegrate mergeinfo Reverse-merged - how to undo?

Hi 你好
We use 1.6 SVN client. 我们使用1.6 SVN客户端。
We have 3 branches - trunk, branch A (created from trunk), branch B (created from A). 我们有3个分支-中继,分支A(从中继创建),分支B(从A创建)。
Revision r1 of trunk is blocked (using --record-only) in branch A with corresponding revision r2. 中继A的修订版r1在分支A中具有相应的修订版r2被阻止(使用--record-only)。 Revision r2 of A is then merged to branch B with corresponding revision r3. 然后将A的修订版r2与相应的修订版r3合并到分支B。

Branch B is to reintegrate with branch A. After using svn merge --reintegrate, we notice the mergeinfo in branch A's working copy changed, displaying a list of revisions that we blocked many trunk revisions in branch A before. 分支B将与分支A重新集成。使用svn merge --reintegrate之后,我们注意到分支A的工作副本中的mergeinfo发生了变化,显示了一个修订列表,该列表之前我们阻止了分支A中的许多主干修订。

Branch A mergeinfo below: 在下面分支一个mergeinfo:

Property changes on: .
___________________________________________________________________
Modified: svn:mergeinfo
   Reverse-merged /proj/trunk:r181987,182079-182080,182143-182144,182192-182193,182228-182229,182278-182279,182322-182323,182353-182354,182386-182387,182420-182421,182469-182470,182513-182514,182552-182553,182622-182623,182673-182674,186045-186046,186049-186050,186058
   Merged /product/features/B:r184166-187801 

How do we undo/recover (on command line) these "Reverse-merged" revisions in branch A's working copy before a svn commit such that mergeinfo would only show 我们如何在svn提交之前撤消/恢复(在命令行上)分支A的工作副本中的这些“反向合并”修订,以便mergeinfo仅显示

Property changes on: .
___________________________________________________________________
Modified: svn:mergeinfo
   Merged /product/features/B:r184166-187801  

Advance thanks for your help/answers 预先感谢您的帮助/解答

We use 1.6 SVN client. 我们使用1.6 SVN客户端。

You must not use SVN 1.6 client. 您不得使用SVN 1.6客户端。 You should use SVN 1.9.x or at least 1.8.x clients. 您应该使用SVN 1.9.x或至少1.8.x客户端。 There is no practical reason to use an outdated and unsupported SVN client or server version. 没有实际的原因来使用过时且不受支持的SVN客户端或服务器版本。

Update your client and server infrastructure and try automatic reintegration merges that were introduced in SVN 1.8 . 更新您的客户端和服务器基础结构,并尝试SVN 1.8引入的 自动重新集成合并 If you have any questions about merging in SVN, read the documentation: SVNBook | 如果您对在SVN中进行合并有任何疑问,请阅读文档: SVNBook | Branching and Merging . 分支和合并

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM