Mercurial > hg
diff hgext/convert/cvs.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 | 003d1f174fe1 |
children | 6ffca2bf23da 5df7cb799baf |
line wrap: on
line diff
--- a/hgext/convert/cvs.py Fri Nov 09 20:21:35 2007 -0200 +++ b/hgext/convert/cvs.py Fri Nov 09 20:21:35 2007 -0200 @@ -11,7 +11,7 @@ cvs = os.path.join(path, "CVS") if not os.path.exists(cvs): - raise NoRepo("couldn't open CVS repo %s" % path) + raise NoRepo("%s does not look like a CVS checkout" % path) self.changeset = {} self.files = {}