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

[PATCH] fix some example output in the book

From: Wesley J. Landaker <wjlanda_at_sandia.gov>
Date: 2005-01-14 21:10:54 CET

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 <wjlanda@sandia.gov>
Sandia National Laboratories, Flight Computers 02339



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

Received on Sat Jan 15 00:31:57 2005

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

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