author | Matt Mackall <mpm@selenic.com> |
Wed, 16 Sep 2009 16:01:37 -0500 | |
changeset 9449 | 61e30f257c15 |
parent 9447 | bafde63c913a (current diff) |
parent 9448 | bc6b0fef9495 (diff) |
child 9455 | 176b7d42e6cc |
child 9562 | 812aaef40757 |
--- 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):