[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Error in online svnbook (r2799)

From: Ryan Schmidt <subversion-2007b_at_ryandesign.com>
Date: 2007-05-31 02:12:24 CEST

On May 30, 2007, at 09:30, Michael Leahy wrote:

> 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

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.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu May 31 02:13:11 2007

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.