Mercurial > hg
changeset 5130:462cc56d898f
convert: raise correct type of exception if svn converter can't handle rev
author | Bryan O'Sullivan <bos@serpentine.com> |
---|---|
date | Mon, 06 Aug 2007 14:16:02 -0700 |
parents | eca5b31cffc7 |
children | 2f9edf6bae95 |
files | hgext/convert/subversion.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext/convert/subversion.py Mon Aug 06 12:53:49 2007 -0700 +++ b/hgext/convert/subversion.py Mon Aug 06 14:16:02 2007 -0700 @@ -78,7 +78,7 @@ try: latest = int(rev) except ValueError: - raise util.Abort('svn: revision %s is not an integer' % rev) + raise NoRepo('svn: revision %s is not an integer' % rev) try: # Support file://path@rev syntax. Useful e.g. to convert # deleted branches.