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

Re: Getting started with Subversion

From: Jim Sokoloff <jim_at_sokoloff.com>
Date: 2003-12-12 21:35:47 CET

On Fri, 12 Dec 2003, Dave Close wrote:

> mkdir /usr/local/svn/repos
> svnadmin create /usr/local/svn/repos
> svn import file:///usr/local/svn/repos /XX XX
>
> (Problem 1)
> As I understand the directions, that should create a Subversion
> repository in the directory /usr/local/svn/repos. It should then import
> the directory tree at /XX and put it under a top-level repository entry
> called XX. The commands are accepted, but the contents of /XX seem to
> be directly under /usr/local/svn/repos; there is no extra layer visible.

(I don't use file URLs, but the same principles should apply,
making this advice worthwhile still. Also, I'm using the
latest, so if argument order has changed, that'll break for you.)

Have you tried?

svn import LOCALPATH file:///usr/local/svn/repos/XX

to import LOCALPATH to [...]/svn/repos/XX

But Karl's advice is on the money. Later versions of
subversion are (almost) always better than prior versions.

---Jim

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Dec 12 21:36:46 2003

This is an archived mail posted to the Subversion Users mailing list.