[PATCH] RE: hg clone fails on non-GNU systems

vadim at mbdsys.com vadim at mbdsys.com
Thu Jul 14 16:40:18 UTC 2005



Stephen Darnell wrote:

> 
>  
>
>>Actually WinNT and later do support hardlinks...
>>
>>Search ffir CreateHardLink on MSDN....
>>    
>>
>
>I knew about that but didn't think that python offered it
>as it doesn't have os.path.link, but I found that there is a
>win32file.CreateHardLink(dst, src)
>
>But this obviously only works on NTFS filesystems, and I
>can't immediately see how to do that without trying it and
>seeing if it fails.
>
>Any ideas?
>
>Regards,
>  Stephen
>
>
>
>
>  
>
Wheny you can try it detect the falure and postion hardlink to False for 
subseauent files...


Vadim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20050714/f2a0213d/attachment-0002.html>


More information about the Mercurial mailing list