Stuck clone over git+ssh to bitbucket.org repos
Created originally on Bitbucket by prologic (James Mills)
Scenario:
Take the following two repos:
hg clone git+ssh://git@bitbucket.org/ccaih/diazo.git
$ hg clone git+ssh://git@bitbucket.org/ccaih/diazo.git
destination directory: diazo
["git-upload-pack '/ccaih/diazo.git'"]
hg clone git+ssh://prologic@git.code.sf.net/p/ccaih/diazo
$ hg clone git+ssh://prologic@git.code.sf.net/p/ccaih/diazo
destination directory: diazo
["git-upload-pack '/p/ccaih/diazo'"]
importing git objects into hg
updating to branch default
111 files updated, 0 files merged, 0 files removed, 0 files unresolved
The bitbucket mirror just gets "stuck" and never finishes. I've only noticed this happening in the last day or two. I tried to strace it:
read(5, "\2Total 1174 (delta 119), reused "..., 47) = 47
read(5, "0000", 4) = 4
fstat(5, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0
lseek(5, 0, SEEK_CUR) = -1 ESPIPE (Illegal seek)
read(5,
That's the last line of the strace -- Notice the incomplete read(...)
?
Versions:
dulwich==0.9.4
hg-git==0.5.0