svn 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 a graphical representation of revisions which have been fully merged from SOURCE-URL to TARGET. Otherwise, list either the merged or eligible revisions as specified by the --show-revs option.

Examples

Graphical summary of the merges from one branch to another:

$ svn mergeinfo ^/trunk feature-branch
    youngest  last               repos.
    common    full     tip of    path of
    ancestor  merge    branch    branch

    11        16       33
    |         |        |
  -------| |------------         trunk
     \         \
      \         \
       --| |------------         feature-branch
                       |
                       33

List the operative revisions merged from one branch to another:

$ svn mergeinfo ^/trunk feature-branch --show-revs merged
r15
r16

List the operative revisions eligible to be merged from one branch to another:

$ svn mergeinfo ^/trunk feature-branch --show-revs eligible
r28
r30