changeset 9449:61e30f257c15

Merge with stable
author Matt Mackall <mpm@selenic.com>
date Wed, 16 Sep 2009 16:01:37 -0500
parents bafde63c913a (current diff) bc6b0fef9495 (diff)
children 176b7d42e6cc 812aaef40757
files mercurial/windows.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/windows.py	Mon Sep 14 17:32:55 2009 -0500
+++ b/mercurial/windows.py	Wed Sep 16 16:01:37 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):