# HG changeset patch # User Dan Villiom Podlaski Christiansen # Date 1270065965 -7200 # Node ID 737292a3102870d27a953fb291887f5b9e5b0db6 # Parent 066453cf2014c142a109d271178629045631e91f svnrepo: ease debugging of Subversion fallback Show a verbose note when falling back to Subversion support, and enable showing the traceback. diff --git a/hgsubversion/svnrepo.py b/hgsubversion/svnrepo.py --- 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')