Mercurial > hg-stable
diff hgext/convert/subversion.py @ 16688:cfb6682961b8
cleanup: replace naked excepts with more specific ones
author | Brodie Rao <brodie@sf.io> |
---|---|
date | Sat, 12 May 2012 16:02:45 +0200 |
parents | e34106fa0dc3 |
children | f366d4c2ff34 |
line wrap: on
line diff
--- a/hgext/convert/subversion.py Sat May 12 16:00:58 2012 +0200 +++ b/hgext/convert/subversion.py Sat May 12 16:02:45 2012 +0200 @@ -139,7 +139,7 @@ ' hg executable is in PATH')) try: orig_paths, revnum, author, date, message = entry - except: + except (TypeError, ValueError): if entry is None: break raise util.Abort(_("log stream exception '%s'") % entry)