svn mergeinfo updates needed in 1.5 book
C. Michael Pilato
cmpilato at red-bean.com
Tue Apr 22 10:03:43 CDT 2008
As you realized, we are aware of this incorrectness, and will be working in
the coming weeks to fix it.
Peter Wemm wrote:
> 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
> http://svn.collab.net/repos/svn/trunk/
> r29085
> r29091
> ...
>
> peter at svn[11:58pm]/s/peter/svn-1.5-105> svn mergeinfo --show-revs
> merged http://svn.collab.net/repos/svn/trunk/
> r29085
> r29091
> r29094
> r29098
> ...
> peter at svn[11:58pm]/s/peter/svn-1.5-106> svn mergeinfo --show-revs
> eligible http://svn.collab.net/repos/svn/trunk/
> r29083
> r29090
> r29092
> r29093
> ...
>
> And the example using --from-source:
>
> $ svn mergeinfo --from-source \
> http://svn.example.com/repos/calc/branches/other-branch .
> 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
> #109.
--
C. Michael Pilato <cmpilato at red-bean.com> | http://cmpilato.blogspot.com/
"The Christian ideal has not been tried and found wanting. It has
been found difficult; and left untried." -- G. K. Chesterton
More information about the svnbook-dev
mailing list