I found this old documentation when I worked on the JavaFX project, maybe this 
helps:

TortoiseHG (Windows)

Get the TortoiseHG Download bundle and install it. It install into the 
directory:
"C:/Program Files/TortoiseHG/".
After installing it:

Edit the file "C:/Program Files/TortoiseHG/Mercurial.ini" and make sure the ssh 
command used is from CYGWIN and not Plink. Unless of course you want to use 
Plink, it's up to you.
Prepend "C:/Program Files/TortoiseHG/" to your PATH, make sure it is before 
/usr/bin, so that running hg version tells you it is TortoiseHG.
Mercurial Tips

On Windows, the default CYGWIN hg will not work on some of the repositories, so 
you can downgrade the CYGWIN hg version to 1.0.2 or switch to use the 
TortoiseHG build of Mercurial, which is a 1.3.1 or newer version. The problem 
centers around the Windows limits to full pathnames. Mercurial .hg/ files can 
end up with much longer filenames than the file they represent in the working 
set, or the files you edit. The most recent releases of Mercurial have 
optimized these path lengths, but versions like 1.1 had made the problem worse, 
resulting in some of our repositories not cloning. Version 1.0.2 was ok, but 
1.3.1 or newer is best. Unfortunately, at this time, 1.3.1 is not available 
with CYGWIN.
On Windows, the CYGWIN hg is a Python script and doesn't play well with the 
native Windows system. Some ant scripts try and run hg and ant will fail when 
running a Python script. Using TortoiseHG solves this problem because it 
provides a hg.exe.                
-kto

On Jun 27, 2012, at 10:32 AM, Volker Simonis wrote:

> Hi,
> 
> this may be related to Cygwin. The error "C770817@C036357
> /cygdrive/e/OpenJDK/jdk8" indicates that you are using a
> "Cygwin-Mercurial". I would recommend to install and use a native
> Windows Mercurial (e.g.
> http://tortoisehg.bitbucket.org/download/index.html) and try with that
> one.
> 
> I never had problems cloning with tortoisehg, also I didn't succeed to
> push with it (I think because of some ssh/private-key issues). So I
> use the Cygwin hg for pushing, but that's not very stable for me
> either...
> 
> Regards,
> Volker
> 
> On Wed, Jun 27, 2012 at 6:59 PM, Stadelmann Josef
> <[email protected]> wrote:
>> Just o inform you before I give up.
>> 
>> At the README of jdk7 or jdk8 one can read
>> 
>> ---------------
>> 
>> This one root repository can be obtained with something like:
>> 
>>     hg clone http://hg.openjdk.java.net/jdk8/jdk8 openjdk8
>> 
>> 
>> 
>>   To make sure you have all the nested repositories, you can run the
>> 
>>   get_source.sh script located in the same respository as this file:
>> 
>>     cd openjdk8 && sh ./get_source.sh
>> 
>> ---------------
>> 
>> Since weeks, running the get_source.sh, download takes place for all
>> 
>> sub-repositories except and always fails for the jdk*/jdk repository.
>> 
>> "hg clone http://hg.openjdk.java.net/jdk7/jdk7/ C:/OpenJDK/jdk7/jdk"
>> 
>> Watching the network, there is an immediate transfer of the .hg subdirectory
>> 
>> but then after about 20 minutes I get an abort error
>> 
>> C770817@C036357 /cygdrive/e/OpenJDK/jdk8
>> 
>> $ hg clone http://hg.openjdk.java.net/jdk8/jdk8/jdk jdk
>> 
>> requesting all changes
>> 
>> abort: error:
>> 
>> WHY?
>> 
>> Once in the past 4 weeks, I was able to download it on a Saturday at home.
>> 
>> Josef

Reply via email to