Cygwin and Win32 native support

Matt Mackall mpm at selenic.com
Mon Mar 10 19:14:45 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.
> 
> Am I wrong?
> 
> On the Unix box I will initially have nothing.

All repositories have a common ancestor, namely the null (empty)
revision. So all you need is to make a full bundle that goes all the way
back to null (with -a or --base null) and apply it to an empty repo (hg
init; hg unbundle).

-- 
Mathematics is the supreme nostalgia of our time.



More information about the Mercurial mailing list