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>
+> set REPOS_DIR=C:/repos/my-repos
+> mkdir C:/repos
+> svnadmin create %REPOS_DIR%
+> svn mkdir -m "Create directory structure." "file:///%REPOS_DIR%/trunk" "file://%REPOS_DIR%/branches" file://%REPOS_DIR%/tags"
> cd my-directory
-> svnadmin create .svnrepos
-> svn mkdir -m "Create directory structure." "file:///%CD%/.svnrepos/trunk" "file://%CD%/.svnrepos/branches" file://%CD%/.svnrepos/tags"
-> svn checkout "file:///%CD%/.svnrepos/trunk" ./
-> svn propset svn:ignore ".svnrepos" ./
+> svn checkout "file:///%REPOS_DIR%/trunk" ./
> svn add --force ./
> svn commit -m "Initial input"
> 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>