git-svn troubles with calendarserver SVN repo
Hi,
I am trying to git-svn clone
https://svn.calendarserver.org/repository/calendarserver/CalendarServer/
and I cannot say I am much succesful. Every couple of hundred of commits I get this:
RA layer request failed: REPORT of '/repository/calendarserver/!svn/vcc/default': could not connect to server (https://svn.calendarserver.org) at /usr/local/share/perl5/Git/SVN/Ra.pm line 290.
and git-svn stops. When restarting git svn fetch, it fetches another couple of hundred commits and then fails again. Given that there are 11000+ commits just in the trunk, I am afraid of a long long night. Did anybody managed to clone this repo? Or is there some way how to make git-svn more patient (this error means the SVN server is a bit flakey, right)?
Best,
Matěj
Signature · 4 lines
http://www.ceplovi.cz/matej/, Jabber: [email protected] GPG Finger: 89EF 4BC6 288A BF43 1BAB 25C3 E09F EF25 D964 84AC A day without sunshine is like night.
I have seen this behaviour, though never determined the root cause .Probably the simplest thing you can do without access to the server is to put your git svn fetch into a bash while loop, like so:
while ! git svn fetch; do :; done;
jon
Quoted 32 lines · Matěj Cepl
Hi,
I am trying to git-svn clone
https://svn.calendarserver.org/repository/calendarserver/CalendarServer/
and I cannot say I am much succesful. Every couple of hundred of commits I get this:RA layer request failed: REPORT of '/repository/calendarserver/!svn/vcc/default': could not connect to server (https://svn.calendarserver.org) at
/usr/local/share/perl5/Git/SVN/Ra.pmline 290.and git-svn stops. When restarting git svn fetch, it fetches another couple of hundred commits and then fails again. Given that there are 11000+ commits just in the trunk, I am afraid of a long long night. Did anybody managed to clone this repo? Or is there some way how to make git-svn more patient (this error means the SVN server is a bit flakey, right)?
Best,
Matěj
--
http://www.ceplovi.cz/matej/, Jabber: [email protected] GPG Finger: 89EF 4BC6 288A BF43 1BAB 25C3 E09F EF25 D964 84ACA day without sunshine is like night.
Quoted 5 lines · Jon Seymour
I have seen this behaviour, though never determined the root cause .Probably the simplest thing you can do without access to the server is to put your git svn fetch into a bash while loop, like so:
while ! git svn fetch; do :; done;
Of course, I did this, but still I wonder how much is the resulting git repository http://luther.ceplovi.cz/git/CalendarServer.git/ faithful representation of the original SVN one http://trac.calendarserver.org/.
Would not be something missing?
Best,
Matěj
Signature · 7 lines
http://www.ceplovi.cz/matej/, Jabber: [email protected] GPG Finger: 89EF 4BC6 288A BF43 1BAB 25C3 E09F EF25 D964 84AC They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety. -- Benjamin Franklin, Historical Review of Pennsylvania, 1759.
My experience is that the fetch will be atomic - it either fetches an SVN commit or it doesn't.
Failure during dcommit is more painful and I usually find it is necessary to manually use a git rebase to rebase the commits that didn't make it to SVN on top of the commits that did.
jon.
Quoted 25 lines · Matěj Cepl
Quoted 5 lines · Jon Seymour
I have seen this behaviour, though never determined the root cause .Probably the simplest thing you can do without access to the server is to put your git svn fetch into a bash while loop, like so:
while ! git svn fetch; do :; done;
Of course, I did this, but still I wonder how much is the resulting git repository http://luther.ceplovi.cz/git/CalendarServer.git/ faithful representation of the original SVN one http://trac.calendarserver.org/.
Would not be something missing?Best,
Matěj
--
http://www.ceplovi.cz/matej/, Jabber: [email protected] GPG Finger: 89EF 4BC6 288A BF43 1BAB 25C3 E09F EF25 D964 84ACThey that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.
-- Benjamin Franklin, Historical Review
of Pennsylvania, 1759.
Quoted 3 lines · Matěj Cepl
I am trying to git-svn clone
https://svn.calendarserver.org/repository/calendarserver/CalendarServer/
and I cannot say I am much succesful.
Consider using (the somewhat experimental) git-remote-testsvn and the underlying contrib/svn-fe/. For starters, try:
$ git clone testsvn::https://svn.calendarserver.org/repository/calendarserver/CalendarServer/
You might need to hack a bit to get it working properly, but you'll find that it's much faster than git-svn in the long-run.