[SvnBook] #15: [PATCH] Add a CVS-to-SVN Cross-Reference section
SvnBook
noreply at red-bean.com
Thu Apr 27 11:11:47 CDT 2006
#15: [PATCH] Add a CVS-to-SVN Cross-Reference section
-------------------------+--------------------------------------------------
Reporter: maxb | Owner: nobody
Type: enhancement | Status: new
Priority: normal | Milestone:
Component: content | Version:
Keywords: |
-------------------------+--------------------------------------------------
Patch from Julian Foad - not necessarily ready for commit, but a good
start nonetheless:
{{{
Add a CVS-to-SVN Cross-Reference section.
* en/book/appa.xml
(svn.forcvs.xref): New.
Index: en/book/appa.xml
===================================================================
--- en/book/appa.xml (revision 2129)
+++ en/book/appa.xml (working copy)
@@ -543,6 +543,62 @@ X Resource is eXternal to this workin
</sect1>
+ <!-- =================================================================
-->
+ <!-- =================================================================
-->
+ <!-- =================================================================
-->
+ <sect1 id="svn.forcvs.xref">
+
+ <title>CVS-to-SVN Command Cross-Reference</title>
+
+ <para>This section suggests alternatives to some common CVS
+ commands that do not have an exact equivalent in Subversion.</para>
+
+ <variablelist>
+ <varlistentry>
+ <term><command>cvs up -p</command> (display a file)</term>
+ <listitem>
+ <para><command>svn cat</command></para>
+ <para>Reference: <xref linkend="svn.ref.svn.c.cat"/></para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
+ <term><option>-kb</option> (mark a file as "binary")</term>
+ <listitem>
+ <para><command>svn propset svn:mime-type</command></para>
+ <para>Note that Subversion, by default, won't damage a binary
+ file even if you forget to do this.</para>
+ <para>Reference: <xref linkend="svn.advanced.props.auto"/>,
+ <xref linkend="svn.advanced.props.special.mime-type"/></para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
+ <term><option>-l</option> (operate only within one
directory)</term>
+ <listitem>
+ <para><option>-N</option> or <option>--non-
recursive</option></para>
+ <para>Reference: <xref linkend="svn.ref.svn.sw"/></para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
+ <term><option>-D DATE</option> (specify a revision by
date)</term>
+ <listitem>
+ <para><option>-r {DATE}</option></para>
+ <para>Reference: <xref linkend="svn.tour.revs"/></para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
+ <term>Sticky revision/tag/date (subsequent updates use this same
revision/tag/date)</term>
+ <listitem>
+ <para>No equivalent.</para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+
+ </sect1>
+
</appendix>
<!--
}}}
--
Ticket URL: <http://svnbook.red-bean.com/trac/ticket/15>
SvnBook <http://svnbook.red-bean.com/>
More information about the svnbook-dev
mailing list