not using os.symlink possible?

Mads Kiilerich mads at kiilerich.com
Sat May 2 16:07:55 CDT 2009


Maximilian Odendahl wrote, On 05/02/2009 09:51 PM:
> is there a way to tell mercurial not to use os.symlink but use slower
> workarounds? Or is it too new for such a thing?
>    

The question does not compile in my world:

Mercurial runs fine on operating systems and file systems without 
symlink. On systems with proper symlink Mercurial can manage them, their 
appearance in paths are handled, and they are used for locks. Mercurials 
use of symlinks is not related to speed or workarounds.

If you are porting to a new platform then you must have found out that 
the platform abstraction is done in util.py, mostly by inclusion of 
windows.py or posix.py. You will have to modify the abstraction layer so 
that it works on your platform.

Perhaps you could tell more about what you have done and what errors you 
see?

> I got mercurial pretty much running on Symbian, except that os.symlink
> is not available, I guess a port to other embedded system such as maemo
> would have the same issue.
>    

Cool!

/Mads

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3435 bytes
Desc: S/MIME Cryptographic Signature
Url : http://selenic.com/pipermail/mercurial-devel/attachments/20090502/78f62288/attachment.bin 


More information about the Mercurial-devel mailing list