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

Re: new user question about import/checkout/trunk

From: <cmpilato_at_collab.net>
Date: 2003-08-04 20:29:29 CEST

"Eric Smith" <eric@brouhaha.com> writes:

> On the client, from the directory above my tsbutils source directory,
> I tried to import my code based on an example in the book:
> svn import svn+ssh://svn.example.com/tsbutils/ tsbutils
> This resulted in an error. Apparently the book is incorrect, or
> the syntax has changed since it was written, and the URL comes after
> the local path rather than before. I tried:
> svn import tsbutils svn+ssh://svn.example.com/tsbutils/
> and it seemed to work OK.

The book is out of date. (Sorry 'bout that). The syntax has indeed
changed its ordering.

> Next I wanted to check out the code from Subversion into a new
> directory. Based on the examples in the book, I tried:
> svn checkout svn+ssh://svn.example.com/tsbutils/trunk tsbutils
> but this gave the error:
> svn: Bad URL passed to RA layer
> svn: Source URL doesn't exist: svn+ssh://svn.brouhaha.com/tsbutils/trunk.

"trunk" is a convention that we the book authors (and the Subversion
developers, I think) are recommending. It's not a magic path
component that means "get me the main branch" -- it's a *literal* path
component. So, our recommendation would have been for you to instead
import like so:

   svn import tsbutils svn+ssh://svn.example.com/tsbutils/trunk

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Aug 4 20:31:31 2003

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.