diff mercurial/hg.py @ 14004:97ed99d1f419

eliminate various naked except clauses
author Idan Kamara <idankk86@gmail.com>
date Sat, 23 Apr 2011 00:51:25 +0300
parents 375872fdadba
children e4bfb9c337f3
line wrap: on
line diff
--- a/mercurial/hg.py	Sun Apr 24 17:52:46 2011 -0500
+++ b/mercurial/hg.py	Sat Apr 23 00:51:25 2011 +0300
@@ -363,7 +363,7 @@
                 try:
                     m = dest_repo.lookup(n)
                     dest_repo._bookmarks[k] = m
-                except:
+                except error.RepoLookupError:
                     pass
             if rb:
                 bookmarks.write(dest_repo)