changeset 9452:812b812ce8cf

Merge with crew-stable
author Steve Borho <steve@borho.org>
date Tue, 15 Sep 2009 11:18:12 -0500
parents 57d682d7d2da (current diff) bc6b0fef9495 (diff)
children de414835d140
files mercurial/windows.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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):