It's the link(2) call, for creating hard links.
http://docs.python.org/lib/os-file-dir.html<file:///C:/Documents%20and%20Settings/e3059/Desktop/msc.py>

It doesn't work on Windows.  I originally tried it in a prior version of my
hook code, then replaced it by mercurial.util_win32.os_link().  I forgot to
remove the import of os.link at that time.

--
Regards,
Georg.


2008/8/13 TK Soh <[EMAIL PROTECTED]>

> On Tue, Aug 12, 2008 at 8:54 PM, Georg <[EMAIL PROTECTED]> wrote:
> > Well, I apologize for the noise.  It was a problem in my hook code.
> >
> > I had a
> >
> > from os import link
>
> what is this os.link module? I am getting import error when trying it
> out with ActivePython 2.5.1 that I have.
>
> In any case, I wonder if this expose a bug in Mercurial's handling of
> hooks, namely on error handling and reporting.
>
> > in my code.  That appeared to do no harm (the import wasn't actually
> used)
> > in TortoiseHg 0.4rc2, but it made the import fail and print a misleading
> > messag about my module not being found in later versions of TortoiseHg.
>
> I am curious why 0.4rc2 didn't have any problem with importing os.link.
>
> > So please take my apologies. All is well.
>
> None needed.
>
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Tortoisehg-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tortoisehg-discuss

Reply via email to