Cygwin and Win32 native support
steve at borho.org
Mon Mar 10 15:13:36 CDT 2008
On Mon, 2008-03-10 at 20:36 +0100, Guido Ostkamp wrote:
> in my office, I am unfortunately forced to use a Windows XP PC to run
> Mercurial in order to get access to the OpenSolaris Mercurial Repo (our
> testlab with the large Unix systems, where I desperately need the stuff is
> "protected" by firewalls and ssh connections to Internet are thus
> impossible <sigh>).
> So I tried Mercurial under Cygwin on the PC to clone
> over a socks 4 proxy using special ~/.ssh/config setting, but it got stuck
> after some ~17800 files. From at home I know there are much more. I
> retried this several times, but it always stops after reaching that number
> of files.
> Does anybody know what could be the reason for this?
> Doesn't Mercurial support Cygwin?
I'm not sure if there's an official answer to this question, but I'm not
aware of any core maintainers that run Mercurial this way. I've
certainly seen it suggested that you run it natively, if at all
> If I would use the native Win32 version, how would I have to configure ssh
> access over a socks server?
> Is 'ssh' somehow included in the native Win32 build of Mercurial?
No, TortoiseHg comes with TortoisePlink by default, but you can always
configure Mercurial to use the cygwin ssh:
ssh = C:\cygwin\bin\ssh.exe
> Also, I expect symlinks in the OpenSolaris repo. Should I be able to
> finish cloning to the PC under Windows, and then zip and transfer the
> '.hg' directory to a Unix box, would this still include the full data
> necessary to recreate symlinks, if used on a Unix box?
That should work just fine, but why use zip? A bundle would be much
more size efficient and more portable.
Steve Borho (steve at borho.org)
Key fingerprint = 2D08 E7CF B624 624C DE1F E2E4 B0C2 5292 F2C6 2C8C
More information about the Mercurial