hg.openjdk.java.net over slow connection

Alex Kashchenko mail at alexkasko.com
Tue Jul 28 13:31:21 UTC 2015


Hi,

Just FYI, I tried to get the jdk6 forest from hg.openjdk.java.net and 
got mercurial errors.

I am currently on slow internet connection (broadband, but unstable), I 
tried the following commands multiple times:

     hg clone http://hg.openjdk.java.net/jdk6/jdk6/
     cd jdk6
     bash ./get_source.sh

And always had an errors like this at least for one repository in jdk6 
forest:

     ...
     adding file changes
     transaction abort!
     rollback completed
     abort: stream ended unexpectedly (got 18605 bytes, expected 20428)

I then imported jdk6 forest to Bitbucket using "Import repository" 
feature and tried the same commands on that bitbucket mirror. While it 
took long time, get_source.sh succeed with no mercurial errors. I 
actually never seen such errors with bitbucket repos.

I guess this won't happen with fast internet connection, but as it works 
with Bitbucket, maybe this exposes some mercurial server 
misconfiguration on hg.openjdk.java.net.

-- 
-Alex


More information about the web-discuss mailing list