##// END OF EJS Templates
issue1251: bail if darcs version is too old
Bryan O'Sullivan -
r9242:6fd3f795 default
parent child Browse files
Show More
@@ -36,6 +36,10 b' class darcs_source(converter_source, com'
36 raise NoRepo("%s does not look like a darcs repo" % path)
36 raise NoRepo("%s does not look like a darcs repo" % path)
37
37
38 checktool('darcs')
38 checktool('darcs')
39 version = self.run0('--version').splitlines()[0].strip()
40 if version < '2.1':
41 raise util.Abort(_('darcs version 2.1 or newer needed (found %r)') %
42 version)
39
43
40 if ElementTree is None:
44 if ElementTree is None:
41 raise util.Abort(_("Python ElementTree module is not available"))
45 raise util.Abort(_("Python ElementTree module is not available"))
General Comments 0
You need to be logged in to leave comments. Login now