--- a/mercurial/util.py Sun Apr 24 17:52:46 2011 -0500
+++ b/mercurial/util.py Sat Apr 23 00:51:25 2011 +0300
@@ -206,12 +206,12 @@
try:
if inname:
os.unlink(inname)
- except:
+ except OSError:
pass
try:
if outname:
os.unlink(outname)
- except:
+ except OSError:
pass
filtertable = {
@@ -407,7 +407,7 @@
if os.path.islink(src):
try:
os.unlink(dest)
- except:
+ except OSError:
pass
os.symlink(os.readlink(src), dest)
else:
@@ -556,7 +556,7 @@
if s2 == s1:
return False
return True
- except:
+ except OSError:
return True
_fspathcache = {}