[svnbook] r4331 committed - Add --show-inherited-props to applicable reference sections....
svnbook at googlecode.com
svnbook at googlecode.com
Thu Jan 17 11:35:07 CST 2013
Revision: 4331
Author: ptburba
Date: Thu Jan 17 09:34:47 2013
Log: Add --show-inherited-props to applicable reference sections.
* en/book/ch09-reference.xml
(svn.ref.svn.sw.show_inherited_props): New option.
(svn.ref.svn.c.propget,
svn.ref.svn.c.proplist): Add content re new option.
http://code.google.com/p/svnbook/source/detail?r=4331
Modified:
/trunk/en/book/ch09-reference.xml
=======================================
--- /trunk/en/book/ch09-reference.xml Wed Jan 16 11:10:58 2013
+++ /trunk/en/book/ch09-reference.xml Thu Jan 17 09:34:47 2013
@@ -887,6 +887,15 @@
</listitem>
</varlistentry>
+ <varlistentry id="svn.ref.svn.sw.show_inherited_props">
+ <term><option>--show-inherited-props</option></term>
+ <listitem>
+ <para>Causes <command>svn propget</command> and <command>
+ svn proplist</command> to display the versioned properties
+ inherited by the target file or directory.</para>
+ </listitem>
+ </varlistentry>
+
<varlistentry id="svn.ref.svn.sw.show_revs">
<term><option>--show-revs</option>
<replaceable>ARG</replaceable></term>
<listitem>
@@ -4555,6 +4564,7 @@
<xref linkend="svn.ref.svn.sw.recursive" />
<xref linkend="svn.ref.svn.sw.revision" />
<xref linkend="svn.ref.svn.sw.revprop" />
+<xref linkend="svn.ref.svn.sw.show_inherited_props" />
<xref linkend="svn.ref.svn.sw.strict" />
<xref linkend="svn.ref.svn.sw.verbose" />
<xref linkend="svn.ref.svn.sw.xml" />
@@ -4601,6 +4611,21 @@
</screen>
</informalexample>
+ <para>Examine the versioned properties inherited by a URL in
+ your repository using the <option>--show-inherited-props
+ </option> option:</para>
+
+ <informalexample>
+ <screen>
+$ svn pg svn:global-ignores --verbose --show-inherited-props ^/branches/1.x
+Inherited properties
on 'http://localhost/svn/repositories/repos/branches/1.x',
+from 'http://localhost/svn/repositories/repos':
+ svn:global-ignores
+ *.diff
+ *.patch
+</screen>
+ </informalexample>
+
<para>By default, <command>svn propget</command> will append
a trailing end-of-line sequence to the property value it
prints. Most of the time, this is a desirable feature
@@ -4674,6 +4699,7 @@
<xref linkend="svn.ref.svn.sw.recursive" />
<xref linkend="svn.ref.svn.sw.revision" />
<xref linkend="svn.ref.svn.sw.revprop" />
+<xref linkend="svn.ref.svn.sw.show_inherited_props" />
<xref linkend="svn.ref.svn.sw.verbose" />
<xref linkend="svn.ref.svn.sw.xml" />
</screen>
@@ -4714,6 +4740,23 @@
</screen>
</informalexample>
+ <para>List all the versioned properties inherited by a file in
+ your working copy using the <option>--show-inherited-props
+ </option> option:</para>
+
+ <informalexample>
+ <screen>
+$ svn proplist --show-inherited-props foo.c
+Inherited properties on 'foo.c',
+from 'http://localhost/svn/repositories/repos':
+ svn:auto-props
+ svn:global-ignores
+Inherited properties on 'foo.c',
+from '/home/theob/svn/working-copies/baz-wc':
+ svn:auto-props
+</screen>
+ </informalexample>
+
<para>Lastly, you can get <command>svn proplist</command>
output in XML format with the <option>--xml</option>
option:</para>
More information about the svnbook-dev
mailing list