Mercurial > hg
diff hgext/convert/subversion.py @ 5521:03496d4fa509
convert: display all errors if we couldn't open the source repo
This should give the user a better hint of what's going wrong.
Improve some error messages. In particular, mention "CVS checkout" instead
of "CVS repo".
Fixes issue822 and issue826.
author | Alexis S. L. Carvalho <alexis@cecm.usp.br> |
---|---|
date | Fri, 09 Nov 2007 20:21:35 -0200 |
parents | 91a522a69c13 |
children | 6ffca2bf23da 924fd86f0579 |
line wrap: on
line diff
--- a/hgext/convert/subversion.py Fri Nov 09 20:21:35 2007 -0200 +++ b/hgext/convert/subversion.py Fri Nov 09 20:21:35 2007 -0200 @@ -102,7 +102,7 @@ try: SubversionException except NameError: - raise NoRepo('subversion python bindings could not be loaded') + raise NoRepo('Subversion python bindings could not be loaded') self.encoding = locale.getpreferredencoding() self.lastrevs = {} @@ -131,7 +131,7 @@ self.uuid = svn.ra.get_uuid(self.ra).decode(self.encoding) except SubversionException, e: ui.print_exc() - raise NoRepo("couldn't open SVN repo %s" % self.url) + raise NoRepo("%s does not look like a Subversion repo" % self.url) if rev: try: