mercurial/windows.py
changeset 8951 835a51e63c5b
parent 8930 ae275ad46bd0
child 9099 3d456bf32f18
--- a/mercurial/windows.py	Sat Jun 27 13:05:25 2009 +0200
+++ b/mercurial/windows.py	Thu Jun 25 22:43:58 2009 +0200
@@ -8,7 +8,6 @@
 from i18n import _
 import osutil, error
 import errno, msvcrt, os, re, sys
-from mercurial import win32
 
 nulldev = 'NUL:'
 umask = 002
@@ -18,7 +17,7 @@
     try:
         return osutil.posixfile(name, mode, buffering)
     except WindowsError, err:
-        raise win32.WinIOError(err)
+        raise IOError(err.errno, err.strerror)
 posixfile.__doc__ = osutil.posixfile.__doc__
 
 class winstdout(object):