[PATCH] windows: add missing re import

Steve Borho steve at borho.org
Sun Mar 29 16:55:52 UTC 2009


On Sun, Mar 29, 2009 at 6:34 AM, Benoit Boissinot
<benoit.boissinot at ens-lyon.org> wrote:
> On Sat, Mar 28, 2009 at 10:26:18PM -0500, Steve Borho wrote:
>> # HG changeset patch
>> # User Steve Borho <steve at borho.org>
>> # Date 1238296942 18000
>> # Node ID 00da27f68be1a51d5b23b7ae51e8ae3b448a8b6e
>> # Parent  cfb3fad78e2a154f55521f090354dea1c4608e26
>> windows: add missing re import
>
> Patch does not apply cleanly (no osutil import here).
>
> And it seems there are still some import missing:
> mercurial/windows.py:69: No global (system_rcpath_win32) found
> mercurial/windows.py:76: No global (user_rcpath_win32) found
> mercurial/windows.py:194: No global (set_signal_handler_win32) found
> mercurial/windows.py:221: No global (errno) found
> mercurial/windows.py:230: No global (Abort) found
> mercurial/windows.py:230: No global (_) found
> mercurial/windows.py:237: No global (patkind) found
> mercurial/windows.py:239: No global (glob) found
> mercurial/windows.py:264: No global (posixfile_nt) found

I sent two other patches earlier to move expand_glob() back
into util.py and add the osutil import. I don't know if that fixes
all of the above issues, but it would be nice if these at least
were applied.

--
Steve




More information about the Mercurial-devel mailing list