[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

RE: Getting started with subversion

From: Cooke, Mark <mark.cooke_at_siemens.com>
Date: Thu, 15 Jul 2010 10:16:23 +0100

Hi List,

First, thanks to David for an excellent explanation. However, I am
confused a little by the sequence of commands suggested...

> ========================
>
> Okay, with those preliminaries out of the way, open the Terminal and
> do the following. The "$" will represent your command prompt. This can
> be changed, so in Unix, it is common just to put "$":
>
> $ cd $HOME
> $ svn mkdir svn_repos
> $ cd mkdir svn_repos
> $ svnadmin create newrepo
>
> This will create a Subversion repository at /Users/TommyHome/svn_repos
> called "newrepo". You can find this in Pathfinder. Now, you will want
> to create a working directory:
>
> $ cd $HOME
> $ svn checkout file://$PWD/svn_repos/newrepo svn_project
>
> This will allow you to checkout an EMPTY repository in Subversion in a
> directory under your $HOME directory called "svn_project". When you
> open a new Pathfinder window, you should see this directory.

If we want to create a new home for repositories to start with, then is
that right?

> $ cd $HOME

OK, go to known location

> $ svn mkdir svn_repos

Why "svn mkdir" and not just "mkdir" ~ this is to create a new repo not
to add a directory to a repo?

> $ cd mkdir svn_repos

Should this not fail because 'mkdir' does not exist?

> $ svnadmin create newrepo

...should create the new repository which can then be accessed as
file://$PWD/svn_repos/newrepo ok.

Sorry if I am just confused about the way macs work or something...

~ mark c
Received on 2010-07-15 11:17:38 CEST

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.