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

RE: Re: Re: Newbie: Unable to Create Layout and Import Initial Data (Subversion & TortoiseSVN)

From: Stephen Warren <swarren_at_paramanet.com>
Date: 2004-04-01 20:33:09 CEST

> -----Original Message-----
> From: Vera Odessa Newman [mailto:mynix@adelphia.net]
> Sent: Thursday, April 01, 2004 10:03 AM
> To: Derek Mahar
> Cc: users@subversion.tigris.org
> Subject: Re: Re: Newbie: Unable to Create Layout and Import
> Initial Data
> (Subversion & TortoiseSVN)
>
>
> This is what I get when I do the following;
>
> Go to SVN/repos through command prompt
>
> svn import trunk
> file:///E:/ApacheGroup/Apache2/htdocs/svn/repos --message
> "Initial repository layout"
> svn: 'trunk' dose not exist
>
> *sigh*
>
> Well I suck..
>
> ....so in other words it thinks.... I am trying to import
> data into the
> 'trunk/ directory.........
> .......though all I want to do is make a trunk directory/layout..
>
> .. thank you for your help.. almost there .. just not sure
> how close LOL

You say you're trying to import into "trunk" in the repository?

The command you gave is trying to import a local directory named trunk, into the root directory of the repository....

Run "svn help import" to learn what the correct arguments are.

Are you trying to import *from* the local current working directory? If so, you probbaly want the following:

svn import . http://host/svn/repos/trunk

Also, I think you're confusing the URLs to the repository. You're using a file URL that looks like it's pointing at an Apache directory... Your repositories probably aren't physically located in the Apache directory - I'm guessing that the Apache URL /svn/repos is mapped to some other local directory by the Apache httpd.conf. So, you either want:

svn import . http://host/svn/repos/trunk

*or*

svn import . file:///E:/svn-repos-directory/trunk

(I'm assuming your Apache configuration isn't using the SVNParentPath directive - if so, you need to add the repository name as an extra path component just before "/trunk".

--
Stephen Warren, Software Engineer, Parama Networks, San Jose, CA
http://www.wwwdotorg.org/work_contact/
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Apr 1 20:33:45 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.