{"thread":{"id":"35439","subject":"git-svn troubles with calendarserver SVN repo","startedAt":"2013-11-29T23:14:40Z","lastAt":"2013-12-02T11:01:20Z","messageCount":5,"participants":["Matěj Cepl","Jon Seymour","Ramkumar Ramachandra"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"231286","messageId":"52991FE0.6040503@redhat.com","threadId":"35439","inReplyTo":null,"subject":"git-svn troubles with calendarserver SVN repo","fromName":"Matěj Cepl","fromEmail":"mcepl@redhat.com","sentAt":"2013-11-29T23:14:40Z","receivedAt":"2013-11-29T23:14:40Z","isPatch":false,"sender":{"key":"mcepl@redhat.com","avatar":null},"body":"Hi,\n\n\n\nI am trying to git-svn clone\nhttps://svn.calendarserver.org/repository/calendarserver/CalendarServer/\nand I cannot say I am much succesful. Every couple of hundred of commits\nI get this:\n\n\nRA layer request failed: REPORT of\n'/repository/calendarserver/!svn/vcc/default': could not connect to\nserver (https://svn.calendarserver.org) at\n/usr/local/share/perl5/Git/SVN/Ra.pm line 290.\n\n\nand git-svn stops. When restarting git svn fetch, it fetches\nanother couple of hundred commits and then fails again. Given\nthat there are 11000+ commits just in the trunk, I am afraid of\na long long night. Did anybody managed to clone this repo? Or is\nthere some way how to make git-svn more patient (this error\nmeans the SVN server is a bit flakey, right)?\n\nBest,\n\nMatěj\n-- \nhttp://www.ceplovi.cz/matej/, Jabber: mcepl@ceplovi.cz\nGPG Finger: 89EF 4BC6 288A BF43 1BAB  25C3 E09F EF25 D964 84AC\n\nA day without sunshine is like night.\n\n"},{"id":"231291","messageId":"CAH3Anro=vM2JLLZhdJ4nnO3qLhw4yV2JFT8EwC3jcbbGrj4H=g@mail.gmail.com","threadId":"35439","inReplyTo":"52991FE0.6040503@redhat.com","subject":"Re: git-svn troubles with calendarserver SVN repo","fromName":"Jon Seymour","fromEmail":"jon.seymour@gmail.com","sentAt":"2013-11-30T08:54:49Z","receivedAt":"2013-11-30T08:54:49Z","isPatch":false,"sender":{"key":"jon.seymour@gmail.com","avatar":"https://avatars.githubusercontent.com/u/207131?v=4"},"body":"I have seen this behaviour, though never determined the root cause\n.Probably the simplest thing you can do without access to the server\nis to put your git svn fetch into a bash while loop, like so:\n\nwhile ! git svn fetch; do :; done;\n\njon\n\nOn Sat, Nov 30, 2013 at 10:14 AM, Matěj Cepl <mcepl@redhat.com> wrote:\n> Hi,\n>\n>\n>\n> I am trying to git-svn clone\n> https://svn.calendarserver.org/repository/calendarserver/CalendarServer/\n> and I cannot say I am much succesful. Every couple of hundred of commits\n> I get this:\n>\n>\n> RA layer request failed: REPORT of\n> '/repository/calendarserver/!svn/vcc/default': could not connect to\n> server (https://svn.calendarserver.org) at\n> /usr/local/share/perl5/Git/SVN/Ra.pm line 290.\n>\n>\n> and git-svn stops. When restarting git svn fetch, it fetches\n> another couple of hundred commits and then fails again. Given\n> that there are 11000+ commits just in the trunk, I am afraid of\n> a long long night. Did anybody managed to clone this repo? Or is\n> there some way how to make git-svn more patient (this error\n> means the SVN server is a bit flakey, right)?\n>\n> Best,\n>\n> Matěj\n> --\n> http://www.ceplovi.cz/matej/, Jabber: mcepl@ceplovi.cz\n> GPG Finger: 89EF 4BC6 288A BF43 1BAB  25C3 E09F EF25 D964 84AC\n>\n> A day without sunshine is like night.\n>\n"},{"id":"231351","messageId":"529C229F.2030504@redhat.com","threadId":"35439","inReplyTo":"CAH3Anro=vM2JLLZhdJ4nnO3qLhw4yV2JFT8EwC3jcbbGrj4H=g@mail.gmail.com","subject":"Re: git-svn troubles with calendarserver SVN repo","fromName":"Matěj Cepl","fromEmail":"mcepl@redhat.com","sentAt":"2013-12-02T06:03:11Z","receivedAt":"2013-12-02T06:03:11Z","isPatch":false,"sender":{"key":"mcepl@redhat.com","avatar":null},"body":"On 30/11/13 09:54, Jon Seymour wrote:\n> I have seen this behaviour, though never determined the root cause\n> .Probably the simplest thing you can do without access to the server\n> is to put your git svn fetch into a bash while loop, like so:\n> \n> while ! git svn fetch; do :; done;\n\nOf course, I did this, but still I wonder how much is the resulting git\nrepository http://luther.ceplovi.cz/git/CalendarServer.git/ faithful\nrepresentation of the original SVN one http://trac.calendarserver.org/.\nWould not be something missing?\n\nBest,\n\nMatěj\n\n-- \nhttp://www.ceplovi.cz/matej/, Jabber: mcepl@ceplovi.cz\nGPG Finger: 89EF 4BC6 288A BF43 1BAB  25C3 E09F EF25 D964 84AC\n\nThey that can give up essential liberty to obtain a little\ntemporary safety deserve neither liberty nor safety.\n    -- Benjamin Franklin, Historical Review\n       of Pennsylvania, 1759.\n\n"},{"id":"231352","messageId":"CAH3Anroi65OrZZQ0MvmPxgWZXB_eG=1aA-cxqdR=y-uAXsFaNA@mail.gmail.com","threadId":"35439","inReplyTo":"529C229F.2030504@redhat.com","subject":"Re: git-svn troubles with calendarserver SVN repo","fromName":"Jon Seymour","fromEmail":"jon.seymour@gmail.com","sentAt":"2013-12-02T07:00:54Z","receivedAt":"2013-12-02T07:00:54Z","isPatch":false,"sender":{"key":"jon.seymour@gmail.com","avatar":"https://avatars.githubusercontent.com/u/207131?v=4"},"body":"My experience is that the fetch will be atomic - it either fetches an\nSVN commit or it doesn't.\n\nFailure during dcommit is more painful and I usually find it is\nnecessary to manually use a git rebase to rebase the commits that\ndidn't make it to SVN on top of the commits that did.\n\njon.\n\nOn Mon, Dec 2, 2013 at 5:03 PM, Matěj Cepl <mcepl@redhat.com> wrote:\n> On 30/11/13 09:54, Jon Seymour wrote:\n>> I have seen this behaviour, though never determined the root cause\n>> .Probably the simplest thing you can do without access to the server\n>> is to put your git svn fetch into a bash while loop, like so:\n>>\n>> while ! git svn fetch; do :; done;\n>\n> Of course, I did this, but still I wonder how much is the resulting git\n> repository http://luther.ceplovi.cz/git/CalendarServer.git/ faithful\n> representation of the original SVN one http://trac.calendarserver.org/.\n> Would not be something missing?\n>\n> Best,\n>\n> Matěj\n>\n> --\n> http://www.ceplovi.cz/matej/, Jabber: mcepl@ceplovi.cz\n> GPG Finger: 89EF 4BC6 288A BF43 1BAB  25C3 E09F EF25 D964 84AC\n>\n> They that can give up essential liberty to obtain a little\n> temporary safety deserve neither liberty nor safety.\n>     -- Benjamin Franklin, Historical Review\n>        of Pennsylvania, 1759.\n>\n"},{"id":"231362","messageId":"CALkWK0mPHzKfzFKKpZkfAus3YVC9NFYDbFnt+5JQYVKipk3bQQ@mail.gmail.com","threadId":"35439","inReplyTo":"52991FE0.6040503@redhat.com","subject":"Re: git-svn troubles with calendarserver SVN repo","fromName":"Ramkumar Ramachandra","fromEmail":"artagnon@gmail.com","sentAt":"2013-12-02T11:01:20Z","receivedAt":"2013-12-02T11:01:20Z","isPatch":false,"sender":{"key":"r@artagnon.com","avatar":"https://avatars.githubusercontent.com/u/37226?v=4"},"body":"Matěj Cepl wrote:\n> I am trying to git-svn clone\n> https://svn.calendarserver.org/repository/calendarserver/CalendarServer/\n> and I cannot say I am much succesful.\n\nConsider using (the somewhat experimental) git-remote-testsvn and the\nunderlying contrib/svn-fe/. For starters, try:\n\n  $ git clone testsvn::https://svn.calendarserver.org/repository/calendarserver/CalendarServer/\n\nYou might need to hack a bit to get it working properly, but you'll\nfind that it's much faster than git-svn in the long-run.\n"}]}