Cygwin and Win32 native support

Steve Borho steve at borho.org
Mon Mar 10 16:52:57 CDT 2008


On Mon, 2008-03-10 at 22:40 +0100, Guido Ostkamp wrote:
> On Mon, 10 Mar 2008, Steve Borho wrote:
> > No, TortoiseHg comes with TortoisePlink by default, but you can always
> > configure Mercurial to use the cygwin ssh:
> >
> > [ui]
> > ssh = C:\cygwin\bin\ssh.exe
> 
> Thanks for this hint. However, looking at what Patrick said, the issue is 
> not Cygwin, but Windows related.
> 
> >> 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.
> 
> I thought that bundles could only be used for updating an existing repo 
> where the bundle and the existing repo share some common history.

I'm not sure if the tip allows you to clone from a bundle (thought I saw
patches that add this feature), but you can always do this:

hg init repo ; cd repo ; hg pull /path/to/bundle.hg

-- 
Steve Borho (steve at borho.org)
http://www.borho.org/~steve/steve.asc
Key fingerprint = 2D08 E7CF B624 624C DE1F  E2E4 B0C2 5292 F2C6 2C8C



More information about the Mercurial mailing list