Mercurial > public > mercurial-scm > hg
diff hgext/convert/monotone.py @ 6332:950e72fc7cf3
convert: allow missing tools not to stop source type detection
author | Patrick Mezard <pmezard@gmail.com> |
---|---|
date | Thu, 20 Mar 2008 23:32:43 +0100 |
parents | 6840668e3bf6 |
children | b40e90341ae2 |
line wrap: on
line diff
--- a/hgext/convert/monotone.py Thu Mar 20 22:58:53 2008 +0100 +++ b/hgext/convert/monotone.py Thu Mar 20 23:32:43 2008 +0100 @@ -2,7 +2,8 @@ import os, re, time from mercurial import util -from common import NoRepo, commit, converter_source, checktool, commandline +from common import NoRepo, MissingTool, commit, converter_source, checktool +from common import commandline from mercurial.i18n import _ class monotone_source(converter_source, commandline): @@ -41,7 +42,7 @@ if not os.path.exists(path): raise norepo - checktool('mtn') + checktool('mtn', abort=False) # test if there are any revisions self.rev = None