[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: Giulio Troccoli <Giulio.Troccoli_at_uk.linedata.com>
Date: Thu, 15 Jul 2010 08:35:39 +0100

>
> 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

I think this should be

$ svn checkout file:///$HOME/svn_repos/newrepo

I know that with the cd command before, $PWD and $HOME are the same, but it's safer to use $HOME, as it will always point to the correct location. Also, notice the three /. According to the book you should either have file://localhost/$HOME... Or file:///$HOME... However I tried on a RHEL and file://$HOME works too

Giulio

Linedata Limited
Registered Office: 85 Gracechurch St., London, EC3V 0AA
Registered in England and Wales No 3475006 VAT Reg No 710 3140 03
Received on 2010-07-15 09:36:45 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.