[svnbook commit] r2727 - trunk/src/en/book
cmpilato
noreply at red-bean.com
Wed Feb 28 08:48:29 CST 2007
Author: cmpilato
Date: Wed Feb 28 08:48:29 2007
New Revision: 2727
Modified:
trunk/src/en/book/ch09-reference.xml
Log:
* src/en/book/ch09-reference.xml
Make some <screen> sections consistent with all the others in the
book. The syntax isn't perfect DocBook right now, but the
consistency allows for easier pre-rendering bulk processing.
Modified: trunk/src/en/book/ch09-reference.xml
==============================================================================
--- trunk/src/en/book/ch09-reference.xml (original)
+++ trunk/src/en/book/ch09-reference.xml Wed Feb 28 08:48:29 2007
@@ -5633,7 +5633,7 @@
<para>This shows the date of revision 40 of a test
repository:</para>
- <screen>
+ <screen>
$ svnlook date -r 40 /tmp/repos/
2003-02-22 17:44:49 -0600 (Sat, 22 Feb 2003)
</screen>
@@ -6209,7 +6209,7 @@
<refsect1>
<title>Examples</title>
- <screen>
+ <screen>
$ svnlook uuid /usr/local/svn/repos
e7fe1b91-8cd5-0310-98dd-2f12e793c5e8
</screen>
@@ -6245,7 +6245,7 @@
<para>This shows the youngest revision of our sample
repository:</para>
- <screen>
+ <screen>
$ svnlook youngest /tmp/repos/
42
</screen>
@@ -6510,46 +6510,60 @@
example, immediately after an update), then that revision is
printed out:</para>
- <screen>$ svnversion
-4168</screen>
+ <screen>
+$ svnversion
+4168
+</screen>
<para>You can add TRAIL_URL to show that the working copy is
not switched from what you expect. Note that the WC_PATH was
required in this command:</para>
- <screen>$ svnversion . /repos/svn/trunk
-4168</screen>
+ <screen>
+$ svnversion . /repos/svn/trunk
+4168
+</screen>
<para>For a mixed-revision working copy, the range of
revisions present is printed:</para>
- <screen>$ svnversion
-4123:4168</screen>
+ <screen>
+$ svnversion
+4123:4168
+</screen>
<para>If the working copy contains modifications, a trailing
"M" is added:</para>
- <screen>$ svnversion
-4168M</screen>
+ <screen>
+$ svnversion
+4168M
+</screen>
<para>If the working copy is switched, a trailing "S" is
added:</para>
- <screen>$ svnversion
-4168S</screen>
+ <screen>
+$ svnversion
+4168S
+</screen>
<para>Thus, here is a mixed-revision, switched working copy
containing some local modifications:</para>
- <screen>$ svnversion
-4212:4168MS</screen>
+ <screen>
+$ svnversion
+4212:4168MS
+</screen>
<para>If invoked on a directory that is not a working copy,
<command>svnversion</command> assumes it is an exported
working copy and prints "exported":</para>
- <screen>$ svnversion
-exported</screen>
+ <screen>
+$ svnversion
+exported
+</screen>
</refsect1>
More information about the svnbook-dev
mailing list