* git-svn - failed to clone repository
@ 2008-07-23 16:06 Derek Fawcus
2008-07-23 17:08 ` SZEDER Gábor
0 siblings, 1 reply; 4+ messages in thread
From: Derek Fawcus @ 2008-07-23 16:06 UTC (permalink / raw)
To: git
I tried to create a clone of an svn repository, and it gave
up part way through with the following error:
Incomplete data: Delta source ended unexpectedly at /usr/bin/git-svn line 3858
Looking at the source, this is the call '$reporter->finish-report($pool)'
near the end of gs_do_update.
This is using git 1.5.6 from the etch backports repository.
The repository in question was cocotron, the command being:
git svn clone http://cocotron.googlecode.com/svn -t tags -b branches -T trunk
It seemed to fail at revision 91, the last couple of lines of the command output being:
r90 = <hex I can't be bothered to type unless required> (trunk)
M Foundation/NSStream/NSFileHandle.m
then followed by the above error. Looking at the actual revision
page (http://code.google.com/p/cocotron/source/detail?r=91)
the only thing that stands out as odd is one file claims to be 'too large to diff'.
It's ~900k and if one grabs and diffs by hand, the output is only ~70 lines.
So - is this at all related to the 'known bug' mentioned earlier - stopped on
line 3856 when using line ending mapping (I'm not using such), or is this
something else?
Last, assuming I was to simply grab and apply this changeset by hand,
what would I need to do to fix up metadata so that git-svn could continue
importing the history? There are about 200 changesets in the whole repository.
Thanks,
DF
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: git-svn - failed to clone repository
2008-07-23 16:06 git-svn - failed to clone repository Derek Fawcus
@ 2008-07-23 17:08 ` SZEDER Gábor
2008-07-23 19:49 ` Avery Pennarun
0 siblings, 1 reply; 4+ messages in thread
From: SZEDER Gábor @ 2008-07-23 17:08 UTC (permalink / raw)
To: Derek Fawcus; +Cc: git
On Wed, Jul 23, 2008 at 05:06:59PM +0100, Derek Fawcus wrote:
> I tried to create a clone of an svn repository, and it gave
> up part way through with the following error:
>
> Incomplete data: Delta source ended unexpectedly at /usr/bin/git-svn line 3858
>
> Looking at the source, this is the call '$reporter->finish-report($pool)'
> near the end of gs_do_update.
>
> This is using git 1.5.6 from the etch backports repository.
>
> The repository in question was cocotron, the command being:
>
> git svn clone http://cocotron.googlecode.com/svn -t tags -b branches -T trunk
It might not help you, but with svn version 1.4.6 (r28521) (from
Ubuntu 8.04) and current git master the above command has just
finished successfully.
Gábor
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: git-svn - failed to clone repository
2008-07-23 17:08 ` SZEDER Gábor
@ 2008-07-23 19:49 ` Avery Pennarun
2008-07-23 22:59 ` Derek Fawcus
0 siblings, 1 reply; 4+ messages in thread
From: Avery Pennarun @ 2008-07-23 19:49 UTC (permalink / raw)
To: SZEDER Gábor; +Cc: Derek Fawcus, git
On 7/23/08, SZEDER Gábor <szeder@fzi.de> wrote:
> It might not help you, but with svn version 1.4.6 (r28521) (from
> Ubuntu 8.04) and current git master the above command has just
> finished successfully.
I believe this was fixed by my patch
29c70e0b3e3183f86f93500882177d0c74069988, which was included in git
1.5.6.2.
Avery
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: git-svn - failed to clone repository
2008-07-23 19:49 ` Avery Pennarun
@ 2008-07-23 22:59 ` Derek Fawcus
0 siblings, 0 replies; 4+ messages in thread
From: Derek Fawcus @ 2008-07-23 22:59 UTC (permalink / raw)
To: Avery Pennarun; +Cc: SZEDER Gábor, git
On Wed, Jul 23, 2008 at 03:49:00PM -0400, Avery Pennarun wrote:
> I believe this was fixed by my patch
> 29c70e0b3e3183f86f93500882177d0c74069988, which was included in git
> 1.5.6.2.
Thanks folks. Building my own 1.5.6.4 allowed the clone to complete.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2008-07-23 23:01 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-23 16:06 git-svn - failed to clone repository Derek Fawcus
2008-07-23 17:08 ` SZEDER Gábor
2008-07-23 19:49 ` Avery Pennarun
2008-07-23 22:59 ` Derek Fawcus
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).