On Fri, May 21, 2010 at 11:58 AM, Ryan Schmidt wrote:
> The Vendor Branches chapter in the book addresses how you can handle this in 
> Subversion.
>
> http://svnbook.red-bean.com/en/1.5/svn.advanced.vendorbr.html

Hrmph. I couldn't get the example in the doc to work whentrying
it with a toy example:

j...@work ~/work/svntest
$ svn import ./foobar file:///mnt/h/svn/GDJ/foobar -m "initial drop"
svn: Unable to open an ra_local session to URL
svn: Unable to open repository 'file:///mnt/h/svn/GDJ/foobar'

where:
j...@work ~/work/svntest
$ ls -la /mnt/h/svn
total 0
drwxr-xr-x+ 1 jg              Domänen-Benutzer 0 May 21 14:46 .
drwx------+ 1 Administratoren Domänen-Benutzer 0 May 21 14:40 ..
drwxr-xr-x+ 1 jg              Domänen-Benutzer 0 May 21 12:56 jg

Accessing the jg project is fine:
j...@work ~/work/svntest
$ svn list file:///mnt/h/svn/jg
.bashrc
.bashrc.d/
.emacs.d/
.emacs.el
.gnus/
.gnus.el

Of course, GDJ doesn't exist. Am I supposed to create this first?
Apparently so, although the documentation doesn't mention this:
j...@work ~/work/svntest
$ svnadmin create /mnt/h/svn/GDJ

j...@work ~/work/svntest
$ svn import /home/jg/work/svntest/foobar file:///mnt/h/svn/GDJ/foobar
-m "initial drop"
Adding      ...(many files)
...
Committed revision 1.

But I still get a very similar error when I try to to tag the
stuff. The tagging of the "vendor data" went okay, but, after
creating my project structure:
$ svn import . file:///mnt/h/svn/myproject -m "create project structure"
Adding         trunk
Adding         branches
Adding         tags

Committed revision 1.

when trying to copy the "vendor data":
j...@work ~/work/svntest
$ svn copy file:///mnt/h/svn/GDJ/foobar/0.1 \
file:///mnt/h/svn/myproject/trunk/foobar \
-m "bring foobar-0.1 into driver project"
svn: Unable to open an ra_local session to URL
svn: Unable to open repository 'file:///mnt/h/svn'

Huh? "Unable to open repository 'file:///mnt/h/svn'"? To which
URL is it even referring?

Reply via email to