You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by da...@apache.org on 2013/06/14 11:13:44 UTC

svn commit: r1493003 - /subversion/site/publish/quick-start.html

Author: danielsh
Date: Fri Jun 14 09:13:43 2013
New Revision: 1493003

URL: http://svn.apache.org/r1493003
Log:
* quick-start.html: By popular demand, create the repository outside the
    working copy.  Also link to The Book.

Modified:
    subversion/site/publish/quick-start.html

Modified: subversion/site/publish/quick-start.html
URL: http://svn.apache.org/viewvc/subversion/site/publish/quick-start.html?rev=1493003&r1=1493002&r2=1493003&view=diff
==============================================================================
--- subversion/site/publish/quick-start.html (original)
+++ subversion/site/publish/quick-start.html Fri Jun 14 09:13:43 2013
@@ -23,11 +23,11 @@ files into a working copy of a newly-cre
 <p>On Unix:</p>
 
 <pre>
+$ mkdir -p $HOME/.svnrepos/
+$ svnadmin create .svnrepos/my-repos
+$ svn mkdir -m "Create directory structure." file://$HOME/.svnrepos/my-repos/trunk file://$HOME/.svnrepos/my-repos/branches file://$HOME/.svnrepos/my-repos/tags
 $ cd my-directory
-$ svnadmin create .svnrepos
-$ svn mkdir -m "Create directory structure." file://$(pwd)/.svnrepos/trunk file://$(pwd)/.svnrepos/branches file://$(pwd)/.svnrepos/tags
-$ svn checkout file://$(pwd)/.svnrepos/trunk ./
-$ svn propset svn:ignore ".svnrepos" ./
+$ svn checkout file://$HOME/.svnrepos/my-repos/trunk ./
 $ svn add --force ./
 $ svn commit -m "Initial input"
 $ svn up
@@ -36,11 +36,12 @@ $ svn up
 <p>On Windows:</p>
 
 <pre>
+&gt; set REPOS_DIR=C:/repos/my-repos
+&gt; mkdir C:/repos
+&gt; svnadmin create %REPOS_DIR%
+&gt; svn mkdir -m "Create directory structure." "file:///%REPOS_DIR%/trunk" "file://%REPOS_DIR%/branches" file://%REPOS_DIR%/tags"
 &gt; cd my-directory
-&gt; svnadmin create .svnrepos
-&gt; svn mkdir -m "Create directory structure." "file:///%CD%/.svnrepos/trunk" "file://%CD%/.svnrepos/branches" file://%CD%/.svnrepos/tags"
-&gt; svn checkout "file:///%CD%/.svnrepos/trunk" ./
-&gt; svn propset svn:ignore ".svnrepos" ./
+&gt; svn checkout "file:///%REPOS_DIR%/trunk" ./
 &gt; svn add --force ./
 &gt; svn commit -m "Initial input"
 &gt; svn up
@@ -53,6 +54,10 @@ is not true when the repository director
 Instead, the repository can be created elsewhere.  (If you already created the
 repository, it is possible to move the repository directory.)</p>
 
+<p>See also <a
+href="http://svnbook.red-bean.com/nightly/en/svn.intro.quickstart.html"
+>quickstart instructions in The Subversion Book</a>.</p>
+
 
 </div> <!-- #site-content -->
 </body>