subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1387360 - /subversion/site/publish/faq.html
Date Tue, 18 Sep 2012 20:59:31 GMT
Author: stsp
Date: Tue Sep 18 20:59:30 2012
New Revision: 1387360

URL: http://svn.apache.org/viewvc?rev=1387360&view=rev
Log:
* publish/faq.html
  (in-place-import): For completeness, mention the checkout --force approach
   to creating a working copy from an existing directory.

Modified:
    subversion/site/publish/faq.html

Modified: subversion/site/publish/faq.html
URL: http://svn.apache.org/viewvc/subversion/site/publish/faq.html?rev=1387360&r1=1387359&r2=1387360&view=diff
==============================================================================
--- subversion/site/publish/faq.html (original)
+++ subversion/site/publish/faq.html Tue Sep 18 20:59:30 2012
@@ -1424,6 +1424,16 @@ in the repository, and then check it out
 <tt>svn&nbsp;add</tt> commands to select files and subtrees to add to the
 repository.</p>
 
+<p>If the <em>entire</em> contents of the directory shall be imported,
+rather than a subset of contents, this shorter sequence of commands
+can be used to perform the import and then transform the directory into
+a Subversion working copy:</p>
+<pre>
+     # cd /etc
+     # svn import file:///root/svn-repository/etc
+     # svn checkout --force file:///root/svn-repository/etc .
+</pre>
+
 <p>There is an issue filed for enhancing <tt>svn&nbsp;import</tt> to
 be able to convert the imported tree to a working copy automatically;
 see <a href="http://subversion.tigris.org/issues/show_bug.cgi?id=1328"



Mime
View raw message