Les Mikesell wrote:
> On 5/21/2010 8:52 AM, Gary . wrote:
>> Accessing the jg project is fine:
>> jg_at_work ~/work/svntest
>> $ svn list file:///mnt/h/svn/jg
>> .bashrc
[...]
> Which has nothing to do with the location you tried to use in the
> failing import.
No. I just wanted to show that the basic paths existed (/mnt/h/svn)
because of the "Unable to open repository" message below.
>> when trying to copy the "vendor data":
>> jg_at_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?
>
> You can only svn copy with url's pointing to within the same
> repository. Or you can do it locally in a checked out working copy and
> commit it back.
Ah okay. Thanks. Will try again next week when I am back at
work. Perhaps the redbook is misleading here then, because going purely
by the text in the commands shown in the example it looks like two
different repositories are involved:
,----
| $ svn copy http://svn.example.com/repos/vendor/libcomplex/1.0 \
^^^^^^^^^^^^
| http://svn.example.com/repos/calc/libcomplex \
^^^^^^^^^^
| -m "bringing libcomplex-1.0 into the main branch"
`----
> And is that file:///mnt/h/svn/GDJ/foobar/0.1 supposed
> to refer to a revision or is that a subdirectory you imported there?
I did my local equivalent of
,----
| $ svn copy http://svn.example.com/repos/vendor/libcomplex/current \
| http://svn.example.com/repos/vendor/libcomplex/1.0 \
| -m "tagging libcomplex-1.0"
`----
before that ('The tagging of the "vendor data" went okay' in my last
post).
--
Gary
Received on 2010-05-24 09:51:46 CEST