svn mergeinfo updates needed in 1.5 book

Peter Wemm peter at
Mon Apr 21 19:13:50 CDT 2008

Chapter 4, "Basic merging", "Mergeinfo and Previews" has incorrect
information in it.

For example, the output of the 'svn mergeinfo .' command isn't
correct.  The tests I did suggest that --from-source isn't a valid
switch anymore.  It appears you always have to specify the source, not
"." as in the examples.  Also, you have to specify --show-revs with
either "merged" or "eligible", both aren't just shown to you
automatically like the examples suggest.

Or.. I'm doing it wrong.  Which is also a very good possibility.

For example, the book says:
$ svn mergeinfo .
Path: .
  Source path: /trunk
    Merged ranges: r341:390
    Eligible ranges: r391:395

but, if I try this on the svn-1.5 repo, I see:

peter at svn[11:56pm]/s/peter/svn-1.5-101> svn mergeinfo .
subversion/svn/main.c:2035: (apr_err=205000)
svn: Try 'svn help' for more info
subversion/svn/mergeinfo-cmd.c:80: (apr_err=205000)
svn: Path '' is not a URL

The actual commands that work:
peter at svn[11:57pm]/s/peter/svn-1.5-103> svn mergeinfo

peter at svn[11:58pm]/s/peter/svn-1.5-105> svn mergeinfo --show-revs
peter at svn[11:58pm]/s/peter/svn-1.5-106> svn mergeinfo --show-revs

And the example using --from-source:

$ svn mergeinfo --from-source \  .
Path: .
  Source path: /branches/other-branch
    Merged ranges:
    Eligible ranges: r360:364

.. doesn't work.  there isn't a --from-source switch according to 'svn
help mergeinfo'.

May I humbly ask that somebody could do a sweep over this stuff who
knows what is actually going on here..

Oops.  I just discovered that issue #109 is about this.  Sorry for the
dup.  Please consider this both as begging and as a bump request for
Peter Wemm - peter at; peter at; peter at
"All of this is for nothing if we don't go to the stars" - JMS/B5
"If Java had true garbage collection, most programs would delete
themselves upon execution." -- Robert Sewell

More information about the svnbook-dev mailing list