changeset 597:737292a31028

svnrepo: ease debugging of Subversion fallback Show a verbose note when falling back to Subversion support, and enable showing the traceback.
author Dan Villiom Podlaski Christiansen <danchr@gmail.com>
date Wed, 31 Mar 2010 22:06:05 +0200
parents 066453cf2014
children e432b61c6d74
files hgsubversion/svnrepo.py
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/hgsubversion/svnrepo.py
+++ b/hgsubversion/svnrepo.py
@@ -121,7 +121,8 @@ def instance(ui, url, create):
             # may yield a bogus 'real URL...' message
             return httprepo.instance(ui, url, create)
         except error.RepoError:
-            pass
+            ui.traceback()
+            ui.note('(falling back to Subversion support)\n')
 
     if create:
         raise hgutil.Abort('cannot create new remote Subversion repository')