Add a warning to rename or delete existing directories before an svn

checkout.  Also fix a missing comma.

Submitted by:	scottro (forums)
This commit is contained in:
Warren Block 2013-01-16 17:00:46 +00:00
parent 2f712daa1f
commit cb6fb053d4
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=40658

View file

@ -595,9 +595,18 @@
<sect2 id="svn-usage">
<title>Running <application>Subversion</application></title>
<para>The <command>svn</command> command can be used to fetch a
clean copy of the sources from a given repository by
typing:</para>
<para>The <command>svn</command> command is used to fetch a
clean copy of the sources into a local directory.</para>
<warning>
<para>If the local directory already exists but was not
created by <command>svn</command>, rename or delete it
before the checkout. Checkout over an existing
non-<command>svn</command> directory can cause conflicts
between the existing files and those brought in from the
repository.</para>
</warning>
<para>Check out from a given repository by typing:</para>
<screen>&prompt.root; <userinput>svn checkout <literal>svn://svn.FreeBSD.org/<replaceable>repository</replaceable>/<replaceable>branch</replaceable></literal> <replaceable>root</replaceable></userinput></screen>
@ -606,7 +615,7 @@
<itemizedlist>
<listitem>
<para><replaceable>repository</replaceable> is one of the
Project repositories, i.e. <literal>base</literal>,
Project repositories, i.e., <literal>base</literal>,
<literal>ports</literal>, or <literal>doc</literal>.</para>
</listitem>