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