You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Scott Purcell <sp...@vertisinc.com> on 2006/02/20 15:22:08 UTC
Cannot open ra_local session?
Hello,
Newbie, following page 6 of the Version Control with Subversion book.:
OS Windows XP
Version: subversion 1.3
1) I installed the 1.3 software using the svn-1.3.0-setup.exe.
2) I created a directory called subversroot under C:/ eg:
C:/subversroot
3) I created C:/tmp/project/branches ...
C:/tmp/project/tags ... etc, as the book states.
4) When I try executing the svn import command see below, I get
the error message "Unable to open an ra_local session to URL"
5) See below for exact commands.
Thanks,
bash-3.00$ synadmin create subversroot/
bash: synadmin: command not found
bash-3.00$ svnadmin create subversroot
bash-3.00$ ls subversroot
README.txt conf dav db format hooks locks
bash-3.00$
bash-3.00$
bash-3.00$ svn import tmp/project file:///subversroot -m "initial
import"
svn: Unable to open an ra_local session to URL
svn: Unable to open repository 'file:///subversroot'
bash-3.00$ svn import tmp/project file:///C:/subversroot -m "initial
import"
svn: Unable to open an ra_local session to URL
svn: Unable to open repository 'file:///C:/subversroot'
bash-3.00$ svn import C:/tmp/project file:///C:/subversroot -m "initial
import
"
svn: Unable to open an ra_local session to URL
svn: Unable to open repository 'file:///C:/subversroot'
bash-3.00$
Re: Cannot open ra_local session?
Posted by Kevin Greiner <gr...@gmail.com>.
On 2/20/06, Scott Purcell <sp...@vertisinc.com> wrote:
>
> OS Windows XP
> Version: subversion 1.3
> 1) I installed the 1.3 software using the svn-1.3.0-setup.exe.
> 2) I created a directory called subversroot under C:/ eg: C:/subversroot
> 3) I created C:/tmp/project/branches …
> C:/tmp/project/tags … etc, as the book states.
> 4) When I try executing the svn import command see below, I get the error message
> "Unable to open an ra_local session to URL"
> 5) See below for exact commands.
I don't use the bash shell but here's a sequence of cmds that work
fine in the Windows XP command prompt:
cd \temp\svn
svnadmin create repo
mkdir import
time /t > import\test.txt
cd import
svn import -m"" . file:///c:/temp/svn/repo/
cd ..
mkdir wc
svn co file:///c:/temp/svn/repo wc
Interestingly, I tried to specify a directory as part of the svn
import command (as you were doing above) but svn always used the
current directory. I'm not sure if that's a bug but the easy
workaround is to change into the directory you're importing. HTH...
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org