Mercurial > public > mercurial-scm > hg-stable
diff mercurial/commands.py @ 2482:818ebebc4554
Fix hg diff regression
author | andrea@suse.de |
---|---|
date | Thu, 22 Jun 2006 02:44:39 +0200 |
parents | 0f7e4a39d9af |
children | 9c660e691e90 |
line wrap: on
line diff
--- a/mercurial/commands.py Wed Jun 21 17:55:11 2006 -0700 +++ b/mercurial/commands.py Thu Jun 22 02:44:39 2006 +0200 @@ -390,7 +390,7 @@ def date2(f): try: return util.datestr((os.lstat(repo.wjoin(f)).st_mtime, tz)) - except IOError, err: + except OSError, err: if err.errno != errno.ENOENT: raise return _date2 def read(f):