Error in online svnbook (r2799)

Michael Leahy leahym at gvsu.edu
Wed May 30 22:36:27 CDT 2007


Ryan,

Thanks for the clarification!  I guess I need to get with the program and
update my version.

That said... the Chapter 9 documentation on 'diff' and 'merge' does not
mention the -c option.

http://svnbook.red-bean.com/nightly/en/svn.ref.svn.c.diff.html
http://svnbook.red-bean.com/nightly/en/svn.ref.svn.c.merge.html

Thanks,
--Michael

At 7:12 PM -0500 5/30/07, Ryan Schmidt wrote:
>On May 30, 2007, at 09:30, Michael Leahy wrote:
>
>The book is correct as written.
>
>-c is new syntax available in recent Subversion versions. I believe
>it stands for "changeset".
>
>"svn diff -c 344 ..." is equivalent to "svn diff -r 343:344 ..."
>
>As someone else already pointed out, the book has its own mailing list.
>> I was just looking up branching and merging in the online svnbook,
>> and I
>> found some typos (incorrect command options).
>>
>> In chapter 4, Branching and Merging > Copying Changes Between
>> Branches >
>> Copying Specific Changes, I believe that incorrect syntax is used
>> several
>> times in the examples.
>>
>>   svn diff -c 344 ...
>>   svn merge -c 344 ...
>>
>> Shouldn't those be
>>   svn diff -r 344 ...
>>   svn merge -r 344 ...
>>
>> Farther down, in "Previewing Merges", the '-c' appears again.
>>
>> The URL that I'm viewing is
>> http://svnbook.red-bean.com/nightly/en/
>> svn.branchmerge.copychanges.html





More information about the svnbook-dev mailing list