git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* git-svn troubles with calendarserver SVN repo
@ 2013-11-29 23:14 Matěj Cepl
  2013-11-30  8:54 ` Jon Seymour
  2013-12-02 11:01 ` Ramkumar Ramachandra
  0 siblings, 2 replies; 5+ messages in thread
From: Matěj Cepl @ 2013-11-29 23:14 UTC (permalink / raw)
  To: git

[-- Attachment #1: Type: text/plain, Size: 958 bytes --]

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
-- 
http://www.ceplovi.cz/matej/, Jabber: mcepl@ceplovi.cz
GPG Finger: 89EF 4BC6 288A BF43 1BAB  25C3 E09F EF25 D964 84AC

A day without sunshine is like night.


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 255 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: git-svn troubles with calendarserver SVN repo
  2013-11-29 23:14 git-svn troubles with calendarserver SVN repo Matěj Cepl
@ 2013-11-30  8:54 ` Jon Seymour
  2013-12-02  6:03   ` Matěj Cepl
  2013-12-02 11:01 ` Ramkumar Ramachandra
  1 sibling, 1 reply; 5+ messages in thread
From: Jon Seymour @ 2013-11-30  8:54 UTC (permalink / raw)
  To: Matěj Cepl; +Cc: Git Mailing List

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

On Sat, Nov 30, 2013 at 10:14 AM, Matěj Cepl <mcepl@redhat.com> wrote:
> 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
> --
> http://www.ceplovi.cz/matej/, Jabber: mcepl@ceplovi.cz
> GPG Finger: 89EF 4BC6 288A BF43 1BAB  25C3 E09F EF25 D964 84AC
>
> A day without sunshine is like night.
>

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: git-svn troubles with calendarserver SVN repo
  2013-11-30  8:54 ` Jon Seymour
@ 2013-12-02  6:03   ` Matěj Cepl
  2013-12-02  7:00     ` Jon Seymour
  0 siblings, 1 reply; 5+ messages in thread
From: Matěj Cepl @ 2013-12-02  6:03 UTC (permalink / raw)
  To: Jon Seymour; +Cc: Git Mailing List

[-- Attachment #1: Type: text/plain, Size: 879 bytes --]

On 30/11/13 09:54, Jon Seymour wrote:
> 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: mcepl@ceplovi.cz
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.


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 255 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: git-svn troubles with calendarserver SVN repo
  2013-12-02  6:03   ` Matěj Cepl
@ 2013-12-02  7:00     ` Jon Seymour
  0 siblings, 0 replies; 5+ messages in thread
From: Jon Seymour @ 2013-12-02  7:00 UTC (permalink / raw)
  To: Matěj Cepl; +Cc: Git Mailing List

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.

On Mon, Dec 2, 2013 at 5:03 PM, Matěj Cepl <mcepl@redhat.com> wrote:
> On 30/11/13 09:54, Jon Seymour wrote:
>> 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: mcepl@ceplovi.cz
> 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.
>

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: git-svn troubles with calendarserver SVN repo
  2013-11-29 23:14 git-svn troubles with calendarserver SVN repo Matěj Cepl
  2013-11-30  8:54 ` Jon Seymour
@ 2013-12-02 11:01 ` Ramkumar Ramachandra
  1 sibling, 0 replies; 5+ messages in thread
From: Ramkumar Ramachandra @ 2013-12-02 11:01 UTC (permalink / raw)
  To: Matěj Cepl; +Cc: Git List

Matěj Cepl wrote:
> 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.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-12-02 11:02 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-29 23:14 git-svn troubles with calendarserver SVN repo Matěj Cepl
2013-11-30  8:54 ` Jon Seymour
2013-12-02  6:03   ` Matěj Cepl
2013-12-02  7:00     ` Jon Seymour
2013-12-02 11:01 ` Ramkumar Ramachandra

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).