mergeinfo

来源:互联网 发布:js格式化xml字符串 编辑:程序博客网 时间:2024/05/01 20:31

查看分支是否包含了trunk的所有变更!

mergeinfo命令,详细信息如下。

Name

svn mergeinfo — Query merge-related information. See the section called “Mergeinfo and Previews” for details.

Synopsis

svn mergeinfo SOURCE_URL[@REV] [TARGET[@REV]]

Description

Query information related to merges (or potential merges) between SOURCE-URL and TARGET. If the --show-revs option is not provided, display revisions which have been merged from SOURCE-URL to TARGET. Otherwise, display either merged or eligible revisions as specified by the --show-revs option.

Options

--depth ARG--recursive (-R)--revision (-r) REV--show-revs ARG

Examples

Find out which changesets your have been merged from your trunk directory into your test branch:

$ svn propget svn:mergeinfo ^/branches/test/branches/other:3-4/trunk:11-13,14,16$ svn mergeinfo --show-revs merged ^/trunk ^/branches/testr11r12r13r14r16$ 

Note that the default output from the svn mergeinfo command is to display merged revisions, so the --show-revs option shown in the command line of the previous example is not strictly required.

Find out which changesets from your trunk directory have not yet been merged into your test branch:

$ svn mergeinfo --show-revs eligible ^/trunk ^/branches/testr15r17r20r21r22$ 
0 0
原创粉丝点击