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

Creating First Repository

From: <trlists_at_clayst.com>
Date: 2004-11-22 15:35:34 CET

I'm a new SVN user. I'm am trying to create a respository and a
project within it, then add a set of existing files to the project
using svn add --targets. So far, no luck! I'm sure the solution is
something totally obvious but I'm not used to SVN yet so I can't see

I can create the repository fine with svnadmin, and I set up a mirrored
directory tree for my project (directories only, not files) as
suggested in the Quick Start and imported it successfully. The
directory tree looks like this:


(I know I may need to deal with trunk and branches, I will do that
later oncee I get this simple approach working).

The import command was:

        svn import /temp file:///h:/svnrepos -m "Directory setup"

and the project directory was the only one present under temp.

Then I tried:

        svn list --verbose file:///h:/svnrepos

And got:

      1 Administ Nov 22 09:21 project/

Then I tried to add the files, from the actual /project directory, like

        svn add --targets allfiles.txt

where allfiles.txt looks like this:


I get this error:

        svn: 'html' is not a working copy

What am I doing wrong here? Do I simply have to check out the
directory structure into my real working area before adding files?
Does a checkout with no files in the repository alter anything in the
working directories?


To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Nov 22 15:37:48 2004

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.