--- a/mercurial/localrepo.py Sun Apr 24 17:52:46 2011 -0500
+++ b/mercurial/localrepo.py Sat Apr 23 00:51:25 2011 +0300
@@ -549,7 +549,7 @@
try:
if len(key) == 20:
key = hex(key)
- except:
+ except TypeError:
pass
raise error.RepoLookupError(_("unknown revision '%s'") % key)