简体   繁体   English

SVN将一个文件从修订版本合并到另一个分支

[英]SVN Merge One file from revision to another branch

I want to Merge one file from a specific revision number (Which may have multiple files) to a particular Branch. 我想将一个文件从特定的修订号(可能有多个文件)合并到特定的分支。

For eg - 例如-

Branch 1 contains revision number 156 with 5 committed files (Or any). 分支1包含具有5个已提交文件(或任何文件)的修订号156。 I want to merge 1 (Or specific) file to Branch 2. 我想将1(或特定)文件合并到Branch 2。

Is there any possible way to achieve this ? 有什么可能的方法来实现这一目标?

svn merge SOURCE[@REV] [TARGET_WCPATH]

...如果只想合并一个子树,则子树路径必须同时包含在SOURCE和TARGET_WCPATH中

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

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