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

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

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2004-04-01 20:33:01 CEST

On Thu, 2004-04-01 at 12:02, Vera Odessa Newman wrote:
> 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

The import command is just like a 'copy' command. It takes two
arguments: a source and a destination. The first argument (source) is
something that exists in front of you (a file or a directory) that you
wish to copy into the repository. The second argument (destination) is
a place to upload things: it must be a URL that points into a
repository.

So, for example, if I have a directory 'trunk' full of files and other
directories, then the command

   svn import trunk http://host/repos/

will upload the 'trunk' directory to the top level of my repository.

Does this clarify things?

---------------------------------------------------------------------
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:34:34 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.