Skip to contentSkip to conversation

Can't import Xenomai svn repo

DISCUSSION llandre 2 participants 3 messages Jun 15, 2016

lore
Share & tools
lore

llandre

author
#0 lore raw

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&[email protected]
#1 lore raw
Quoted 6 lines · llandre

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

author
#2 lore raw

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

Signature · 5 lines
llandre

DAVE Electronics System House - R&D Department
web:   http://www.dave-tech.it
email: r&[email protected]
Quoted 24 lines
Quoted 4 lines

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