Re: Can't import Xenomai svn repo
From: Dennis Stosberg <hidden>
Date: 2016-06-15 22:42:32
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