--- a/hgext/convert/hg.py Sat May 12 16:02:45 2012 +0200
+++ b/hgext/convert/hg.py Sat May 12 16:02:46 2012 +0200
@@ -95,7 +95,7 @@
self.after()
try:
self.repo = hg.repository(self.ui, branchpath)
- except:
+ except Exception:
self.repo = hg.repository(self.ui, branchpath, create=True)
self.before()
@@ -105,7 +105,7 @@
for b in pbranches:
try:
self.repo.lookup(b[0])
- except:
+ except Exception:
missings.setdefault(b[1], []).append(b[0])
if missings:
@@ -192,7 +192,7 @@
try:
oldlines = sorted(parentctx['.hgtags'].data().splitlines(True))
- except:
+ except Exception:
oldlines = []
newlines = sorted([("%s %s\n" % (tags[tag], tag)) for tag in tags])