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

Clarifying Repository Setup and Initial Import

From: Rich Shepard <rshepard_at_appl-ecosys.com>
Date: Mon, 14 Jul 2014 09:21:13 -0700 (PDT)

   Running 1.7.16 on Slackware-14.1. I used svn about a decade ago and am now
starting a new project and want to start fresh with the tool. I've read the
book, particularly Chapters 2 and 5 several times and still have questions
whose answers I don't find in the book.

   The repository is located in ~/development/svn-repos/. Following the
section "Planning Your Repository Organization" in Chapter 5 I created two
project root directories which I'll call project-A/ and project-B/. Under
each of these I created the subdirectories of branches/, tags/, and trunks/.
However, running 'svnadmin create ~/development/svn-repos/' from
~/development failed because the directory existed so I removed the
svn-repos/ subdirectory and re-ran the svnadmin create command. Then I
recreated the two project subdirectories (root, branches, tags, and trunk).

   When I run 'svnlook info file:///home/rshepard/development/svn-repos/'
this error is reported:

svnlook: E000002: Can't open file
'file:/home/rshepard/development/svn-repos/format': No such file or
directory

Yet, that file is present:

ls svn-repos/
README.txt conf/ db/ project-A/ format hooks/ locks/ project-B/

Is this error generated because I've not yet imported either project?

   To import the current code for each project, I assume that I need to cd to
that project's subdirectory before running 'svn import'. When I specify the
repository location with
file:///home/rshepard/development/svn-repos/project-?/ do I also need to
specify the trunk/ subdirectory?

   When I clarify how to get the repository directory structure correct, and
use the correct syntax to populate each project's repository, I will use
that same syntax to checkout and commit changes to each project.

Rich
Received on 2014-07-14 18:21:47 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.