subversion-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bob Archer <Bob.Arc...@amsi.com>
Subject RE: Getting started with subversion
Date Wed, 14 Jul 2010 19:49:48 GMT
> I'm sorry guys (and gals), I have a very basic question: How to you
> get files into your repository. I've got the O'Reilly book (2nd
> Edition), but I'm afraid is presumes too much of me.

You might want to read the free book... it seems to me it explains it well and for someone
that has never used it.

http://svnbook.red-bean.com/nightly/en/svn-book.html


> I looked at chapter 2, page 18, and it includes the following:
> 
> ...typically use this when you have an existing tree of files that
> you want to begin tracking in your Subversion repository. For
> example:
> 
> $ svnadmin create /ver/svn/newrepos
> $ svn import mytree file:///var/svn/newrepos/some/project \
> 
> For the first line: what part of this is variable?
> For the second line: how do I know what to enter for
> "var/svn?newreos/
> some/project?"

The first line creates the repository. You specify whatever location you want. 

The second line you know it is /var/svn/newrepos , which is the path to your repository, frankly
because you remember what path you used when you created it. If course, the file:// protocol
is probably not what you will use in production unless you are a single dev working on your
projects.

> 
> The path to my files on my computer is Macintosh
> HD/Users/TommyHome/
> KeelWorks/Projects/GraphicArt.
> 
> My command client is Path Finder is set to "Macintosh: MyTaxes09
> TommyHome$" This is wrong, but I don't know how to change the
> directory. All tips accepted, except "get a brain" (I tried that).

I'm not sure what you mean here by "this is wrong". BTW: I haven't used PathFinder with svn.
I just use the command line on my Mac.

> 
> When I typed 'svnadmin create /ver/svn/newrepos' I got the
> following response:
> 
> svnadmin: Repository creation failed
> svnadmin: Could not create top-level directory
> svnadmin: Can't create directory '/var/svn/newrepos': No such file
> or directory
> Macintosh:GraphicArt TommyHome$
> 

On your mac you probably want to create the repository in your home folder... something like:

svnadmin create ~/svn/mytestrepo


> If someone would simple pretend that I am a 2-year old and tell me
> how to add files to the repository, I would be eternally grateful
> (or at least for a long time).
> 
> Tomas

Read the redbook... I think it explains it very well.

BOb



Mime
View raw message