You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Ben Hansen <be...@gmail.com> on 2008/04/18 08:45:26 UTC
Unable to open an ra_local session to URL -- Help
My system
System Version: Mac OS X 10.5.2 (9C7010)
Kernel Version: Darwin 9.2.2
I run
svn --version
svn, version 1.4.4 (r25188)
compiled Sep 23 2007, 22:32:34
svnadmin create /Users/ben/SVN
ls /Users/ben/HelloWorld/
branches tags trunk
and I get back:
svn import /Users/ben/SVN file:///Users/ben/HelloWorld/ -m "comment"
svn: Unable to open an ra_local session to URL
svn: Unable to open repository 'file:///Users/ben/HelloWorld'
Can someone point me in the right direction?
Re: Unable to open an ra_local session to URL -- Help
Posted by Ben Hansen <be...@gmail.com>.
That was the problem. Thank you very much.
2008/4/18 Ulrich Eckhardt <ec...@satorlaser.com>:
> On Friday 18 April 2008, Ben Hansen wrote:
> > svnadmin create /Users/ben/SVN
>
> This means that the base part of any URL that uses this repository must
> contain 'file:///Users/ben/SVN', followed by the path inside the
> repository.
>
> > ls /Users/ben/HelloWorld/
> > branches tags trunk
> >
> > and I get back:
> >
> > svn import /Users/ben/SVN file:///Users/ben/HelloWorld/ -m "comment"
>
> The first argument is the path (i.e. the local directory) which you want
> to
> import. If this argument is missing, I believe SVN assumes the current
> dir.
> The second argument is a URL specifying where to import the path to.
>
> You simply need to switch the arguments around:
>
> svn import /path/to/dir file:///path/to/repository
>
> Uli
>
> --
> ML: http://subversion.tigris.org/mailing-list-guidelines.html
> FAQ: http://subversion.tigris.org/faq.html
> Docs: http://svnbook.red-bean.com/
>
> Sator Laser GmbH
> Geschäftsführer: Michael Wöhrmann, Amtsgericht Hamburg HR B62 932
>
>
> **************************************************************************************
> Visit our website at <http://www.satorlaser.de/>
>
> **************************************************************************************
> Diese E-Mail einschließlich sämtlicher Anhänge ist nur für den Adressaten
> bestimmt und kann vertrauliche Informationen enthalten. Bitte
> benachrichtigen Sie den Absender umgehend, falls Sie nicht der beabsichtigte
> Empfänger sein sollten. Die E-Mail ist in diesem Fall zu löschen und darf
> weder gelesen, weitergeleitet, veröffentlicht oder anderweitig benutzt
> werden.
> E-Mails können durch Dritte gelesen werden und Viren sowie
> nichtautorisierte Änderungen enthalten. Sator Laser GmbH ist für diese
> Folgen nicht verantwortlich.
>
>
> **************************************************************************************
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
>
Re: Unable to open an ra_local session to URL -- Help
Posted by Ulrich Eckhardt <ec...@satorlaser.com>.
On Friday 18 April 2008, Ben Hansen wrote:
> svnadmin create /Users/ben/SVN
This means that the base part of any URL that uses this repository must
contain 'file:///Users/ben/SVN', followed by the path inside the repository.
> ls /Users/ben/HelloWorld/
> branches tags trunk
>
> and I get back:
>
> svn import /Users/ben/SVN file:///Users/ben/HelloWorld/ -m "comment"
The first argument is the path (i.e. the local directory) which you want to
import. If this argument is missing, I believe SVN assumes the current dir.
The second argument is a URL specifying where to import the path to.
You simply need to switch the arguments around:
svn import /path/to/dir file:///path/to/repository
Uli
--
ML: http://subversion.tigris.org/mailing-list-guidelines.html
FAQ: http://subversion.tigris.org/faq.html
Docs: http://svnbook.red-bean.com/
Sator Laser GmbH
Geschäftsführer: Michael Wöhrmann, Amtsgericht Hamburg HR B62 932
**************************************************************************************
Visit our website at <http://www.satorlaser.de/>
**************************************************************************************
Diese E-Mail einschließlich sämtlicher Anhänge ist nur für den Adressaten bestimmt und kann vertrauliche Informationen enthalten. Bitte benachrichtigen Sie den Absender umgehend, falls Sie nicht der beabsichtigte Empfänger sein sollten. Die E-Mail ist in diesem Fall zu löschen und darf weder gelesen, weitergeleitet, veröffentlicht oder anderweitig benutzt werden.
E-Mails können durch Dritte gelesen werden und Viren sowie nichtautorisierte Änderungen enthalten. Sator Laser GmbH ist für diese Folgen nicht verantwortlich.
**************************************************************************************
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org