You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by "Wesley J. Landaker" <wj...@sandia.gov> on 2005/01/14 20:10:54 UTC

[PATCH] fix some example output in the book

Log message:
 * ch03.xml: fixed example diff output to make it consistant
 * ch05.xml: fixed example checkout command output to be correct

Additional Notes:

ch03.xml_make_diff_output_consistant.diff:

For the ch03.xml change, currently in the book it shows a couple runs of svn 
diff against rev2, rev3, and the working copy of a file. The examples, 
however, have an inconsistancy, where the content of rev2 and rev3 
apparently changes. Specifically, in the first diff shown between rev3 and 
the WC, rev3 has "Chew with your mouth open" and the WC has "Chew with your 
mouth closed". In the next diff is between rev3 and the WC, and is so far 
consistant. The following diff, between rev2 and rev3 shows no difference 
on the "Chew..." line, but this time the mouth is "closed". This implies an 
inconsistancy, because first rev3 was shown to be "open", and it's now 
shown to be "closed". The next example is svn cat of rev2 and again this 
same inconsistancy shows up.

As it was, we were chewing with our mouths:
WC: closed, modified since rev3
rev3: open / closed (inconsistant between examples)
rev2: closed, but no diff from rev3 (again inconsistant)

With the included patch, we have:
WC: closed
rev3: open
rev2: open

This makes rev2, rev3, and the WC examples all make sense and be consistant 
with each other.

ch08.xml_make_checkout_output_correct.diff:

For the ch08.xml fix, the output of the command "svn checkout 
http://svn.collab.net/repos/svn/trunk subversion" is shown to just put out 
file names. Trying this with an actual subversion client (version 1.1.1 
(r11581)) shows that this is not what is output; instead, the given output 
directory (in this case "subversion") is prepended onto the output file 
names as they are shown being checked out.

-- 
Wesley J. Landaker <wj...@sandia.gov>
Sandia National Laboratories, Flight Computers 02339

Re: [PATCH] fix some example output in the book

Posted by Julian Foad <ju...@btopenworld.com>.
Wesley J. Landaker wrote (on 14 January):
> Log message:
>  * ch03.xml: fixed example diff output to make it consistant
>  * ch05.xml: fixed example checkout command output to be correct

(I've only just seen your message as it had been put aside by my spam filter, 
along with a few other messages, for some unknown reason.)

Thank you very much for the fixes.  I have just committed them, in r12836.

- Julian

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org