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

Re: Checkout to (not from) server

From: <Mathias.Weinert_at_gfa-net.de>
Date: 2006-03-10 16:08:28 CET

Stefan Schwarzer wrote:

>
> Sorry, indeed, I had copied the wrong path...
>
> But although the path is now correct, it does checkout now into my
> home folder, instead of using svn+ssh...
>

svn+ssh is used as a method to access the repository.
But AFAIK the target of the checkout command is a path that has
nothing to do with Subversion itself. It's just a path.
So for me it's not surprising that it doesn't work like this.

I think you have to make the target path available for your local
system. I can't image that Subversion can be used like e. g. scp
or something like that. But I'm no expert in this area so maybe
someone else knows better and has a solution for this.

Mathias

>
> > Stefan Schwarzer wrote:
> >
> >> Hi,
> >>
> >> I searched the forum and Google for answers to my question, but
> >> couldn't find anything similar to my problem.
> >>
> >> due to security reasons I have to do checkouts/updates from my local
> >> repository to a distant (web) server, and not as usual, vice versa.
> >> Is this possible? I can't see how the command would look like.
> >>
> >> _____________________________________________________________________

> >> ___
> >
> >> _____________________
> >>
> >> I try this here:
> >>
> >> svn checkout file:///Users/schwarzer/Documents/subversion_cvs/
> >> geodataportal/trunk svn+ssh://testserver:/www/geodataportal
> >>
> >> _____________________________________________________________________

> >> ___
> >
> >> _____________________
> >>
> >> which results in:
> >>
> >> svn: Unable to open an ra_local session to URL
> >> svn: Unable to open repository 'file:///Users/schwarzer/Documents/
> >> subversion_cvs/geodataportal/trunk'
> >>
> >
> > May be you have used the wrong path? You have to give the complete
> > absolute path to file://. Maybe something like
> > file:///home/Users/schwarzer. Or is it 'users' with a small 'u'?
> >
> > To just check the url and not test the checkout target
> > you can try 'svn info <url>'.
> >
> > Hope this helps.
> >
> > Mathias
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Mar 10 16:09:48 2006

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