hgext/convert/__init__.py
changeset 5528 6ffca2bf23da
parent 5513 f0c58fd4b798
parent 5521 03496d4fa509
child 5554 2147a734dcf9
--- a/hgext/convert/__init__.py	Wed Nov 07 21:13:56 2007 -0600
+++ b/hgext/convert/__init__.py	Fri Nov 09 21:24:25 2007 -0200
@@ -33,12 +33,16 @@
     ]
 
 def convertsource(ui, path, type, rev):
+    exceptions = []
     for name, source in source_converters:
         try:
             if not type or name == type:
                 return source(ui, path, rev)
         except NoRepo, inst:
-            ui.note(_("convert: %s\n") % inst)
+            exceptions.append(inst)
+    if not ui.quiet:
+        for inst in exceptions:
+            ui.write(_("%s\n") % inst)
     raise util.Abort('%s: unknown repository type' % path)
 
 def convertsink(ui, path, type):