[PATCH] Fix find_in_path not including some file extension logic under win32
Patrick Mézard
pmezard at gmail.com
Mon Apr 30 09:43:08 UTC 2007
Alexis S. L. Carvalho a écrit :
> This should probably be in util.py instead of util_win32.py.
> AIUI the functions/classes in util_win32.py depend on something from
> win32file/win32com/etc., which may not always be available, while the
> functions in the "if os.name == 'nt':" conditional in util.py can be
> implemented with standard python features.
>
> It'd be nice to keep following that, even though I really don't know how
> well hg works without these extra modules.
No problem, I will do that ASAP.
> BTW - are these win32file/win32com/etc. modules usually available on
> Windows, or are they present only in very hacked instalations?
I think pywin32 (including these modules) is packaged with ActiveState
python version. Besides, self-installers are provided for all python
versions.
So, you cannot expect every Windows-based python setup to include them,
but anybody using hg from sources is likely to have them.
--
Patrick Mézard
More information about the Mercurial-devel
mailing list