Mercurial > public > mercurial-scm > hg-stable
diff mercurial/windows.py @ 9449:61e30f257c15
Merge with stable
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Wed, 16 Sep 2009 16:01:37 -0500 |
parents | 40196d036a71 bc6b0fef9495 |
children | 8b8920209317 012f1244cd4c |
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):