Mercurial > hg
changeset 13479:b14ed1692b27 stable
convert/svn: handle MissingTool exception from converter_sink class
The converter_sink class had no way of handling MissingTool
exception. This change makes it to abort when there is a
MissingTool exception.
author | Azhagu Selvan SP <tamizhgeek@gmail.com> |
---|---|
date | Thu, 24 Feb 2011 00:45:02 +0530 |
parents | c631ac076375 |
children | 69418d4525d1 |
files | hgext/convert/convcmd.py |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext/convert/convcmd.py Thu Feb 24 14:38:50 2011 +0100 +++ b/hgext/convert/convcmd.py Thu Feb 24 00:45:02 2011 +0530 @@ -70,6 +70,8 @@ return sink(ui, path) except NoRepo, inst: ui.note(_("convert: %s\n") % inst) + except MissingTool, inst: + raise util.Abort(_('%s\n') % inst) raise util.Abort(_('%s: unknown repository type') % path) class progresssource(object):