Merge with crew-stable
authorSteve Borho <steve@borho.org>
Tue, 15 Sep 2009 11:18:12 -0500
changeset 9452 812b812ce8cf
parent 9446 57d682d7d2da (current diff)
parent 9448 bc6b0fef9495 (diff)
child 9453 de414835d140
Merge with crew-stable
mercurial/windows.py
--- a/mercurial/windows.py	Sun Sep 13 18:00:37 2009 +0200
+++ b/mercurial/windows.py	Tue Sep 15 11:18:12 2009 -0500
@@ -17,7 +17,7 @@
     try:
         return osutil.posixfile(name, mode, buffering)
     except WindowsError, err:
-        raise IOError(err.errno, err.strerror)
+        raise IOError(err.errno, '%s: %s' % (name, err.strerror))
 posixfile.__doc__ = osutil.posixfile.__doc__
 
 class winstdout(object):