mercurial/bookmarks.py
changeset 14004 97ed99d1f419
parent 13663 d16c99f16f00
child 14027 78ab705a8147
--- a/mercurial/bookmarks.py	Sun Apr 24 17:52:46 2011 -0500
+++ b/mercurial/bookmarks.py	Sat Apr 23 00:51:25 2011 +0300
@@ -29,7 +29,7 @@
             sha, refspec = line.strip().split(' ', 1)
             refspec = encoding.tolocal(refspec)
             bookmarks[refspec] = repo.changelog.lookup(sha)
-    except:
+    except IOError:
         pass
     return bookmarks