Mercurial > hg
diff hgext/convert/__init__.py @ 5415:1d53a75ea0fc
convert: do not output when trying to load svn bindings
author | Benoit Boissinot <benoit.boissinot@ens-lyon.org> |
---|---|
date | Sun, 07 Oct 2007 20:45:10 +0200 |
parents | eb58722d282f |
children | 6fa5258be3d4 |
line wrap: on
line diff
--- a/hgext/convert/__init__.py Sun Oct 07 20:44:54 2007 +0200 +++ b/hgext/convert/__init__.py Sun Oct 07 20:45:10 2007 +0200 @@ -26,8 +26,10 @@ for c in source_converters: try: return c.getcommit and c(ui, path, **opts) - except (AttributeError, NoRepo): + except AttributeError: pass + except NoRepo, inst: + ui.note(_("convert: %s\n") % inst) raise util.Abort('%s: unknown repository type' % path) def convertsink(ui, path): @@ -36,8 +38,10 @@ for c in sink_converters: try: return c.putcommit and c(ui, path) - except (AttributeError, NoRepo): + except AttributeError: pass + except NoRepo, inst: + ui.note(_("convert: %s\n") % inst) raise util.Abort('%s: unknown repository type' % path) class converter(object):