# Can't import Xenomai svn repo

3 messages from 2006-07-04 to 2006-07-05. Participants: llandre, Dennis Stosberg.
Thread: https://gitlist.dev/t/4762

## llandre, 2006-07-04 08:48

Subject: Can't import Xenomai svn repo
Message-ID: <44AA2B50.4060403@dave-tech.it>
URL: https://gitlist.dev/e/44AA2B50.4060403%40dave-tech.it

```
Hi all,

I tried to import Xenomai svn repo but the script failed:

git-svnimport -v -C xenomai.git http://svn.gna.org/xenomai/trunk
RA layer request failed: PROPFIND request failed on '/xenomai/trunk': 
PROPFIND of '/xenomai/trunk': 405 Method Not Allowed 
(http://svn.gna.org) at /usr/bin/git-svnimport line 135

Git version is 1.4.0.
Anybody can help me?


TIA,
llandre

DAVE Electronics System House - R&D Department
web:   http://www.dave-tech.it
email: r&d2@dave-tech.it

```

## Dennis Stosberg, 2006-07-04 10:17

Subject: Re: Can't import Xenomai svn repo
Message-ID: <20060704101704.G3a844991@leonov.stosberg.net>
URL: https://gitlist.dev/e/20060704101704.G3a844991%40leonov.stosberg.net
In-Reply-To: <44AA2B50.4060403@dave-tech.it>

```
llandre wrote:

> I tried to import Xenomai svn repo but the script failed:
> 
> git-svnimport -v -C xenomai.git http://svn.gna.org/xenomai/trunk
> RA layer request failed: PROPFIND request failed on '/xenomai/trunk': 
> PROPFIND of '/xenomai/trunk': 405 Method Not Allowed (http://svn.gna.org) at 
> /usr/bin/git-svnimport line 135

Looks like the repository is simply not accessible by http.

    $ svn co http://svn.gna.org/xenomai/trunk
    svn: PROPFIND request failed on '/xenomai/trunk'
    svn: PROPFIND of '/xenomai/trunk': 405 Method Not Allowed (http://svn.gna.org)

git-svnimport imports a complete svn repository including its
branches and tags (as long as the svn repo follows the official
layout).  So you would run it against the repository's root:

    git svnimport svn://svn.gna.org/xenomai/

If you want to import/track the trunk only (and maybe commit to it),
git-svn from git's contrib is probably what you want.

Regards,
Dennis

```

## llandre, 2006-07-05 10:04

Subject: Re: Can't import Xenomai svn repo
Message-ID: <44AB8EC6.10501@dave-tech.it>
URL: https://gitlist.dev/e/44AB8EC6.10501%40dave-tech.it
In-Reply-To: <20060704101704.G3a844991@leonov.stosberg.net>

```
Dennis,

thanks a lot for your help.
This command starts fine but ...

git-svnimport -C xenomai2.git svn://svn.gna.org/xenomai

... after a while it fails:

Committing initial tree 4b825dc642cb6eb9a060e54bf8d69288fbee4904
Committing initial tree 77c387d69d2880a9c3f25764b952e821af919755
Network connection closed unexpectedly: Connection closed unexpectedly 
at /usr/bin/git-svnimport line 348

-- 
llandre

DAVE Electronics System House - R&D Department
web:   http://www.dave-tech.it
email: r&d2@dave-tech.it


>> I tried to import Xenomai svn repo but the script failed:
>>
>> git-svnimport -v -C xenomai.git http://svn.gna.org/xenomai/trunk
>> RA layer request failed: PROPFIND request failed on '/xenomai/trunk': 
>> PROPFIND of '/xenomai/trunk': 405 Method Not Allowed (http://svn.gna.org) at 
>> /usr/bin/git-svnimport line 135
> 
> Looks like the repository is simply not accessible by http.
> 
>     $ svn co http://svn.gna.org/xenomai/trunk
>     svn: PROPFIND request failed on '/xenomai/trunk'
>     svn: PROPFIND of '/xenomai/trunk': 405 Method Not Allowed (http://svn.gna.org)
> 
> git-svnimport imports a complete svn repository including its
> branches and tags (as long as the svn repo follows the official
> layout).  So you would run it against the repository's root:
> 
>     git svnimport svn://svn.gna.org/xenomai/
> 
> If you want to import/track the trunk only (and maybe commit to it),
> git-svn from git's contrib is probably what you want.
> 
> Regards,
> Dennis
> 
> 

```
