This text is a work in progress—highly subject to change—and may not accurately describe any released version of the Apache™ Subversion® software. Bookmarking or otherwise referring others to this page is probably not such a smart idea. Please visit http://www.svnbook.com/ for stable versions of this book.

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.

Options

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