##// END OF EJS Templates
convert: fix a few residual bugs in darcs importer
Bryan O'Sullivan -
r5362:4ad2a18a default
parent child Browse files
Show More
@@ -58,7 +58,7 b' class darcs_source(converter_source):'
58 58
59 59 def after(self):
60 60 self.ui.debug('cleaning up %s\n' % self.tmppath)
61 #shutil.rmtree(self.tmppath, ignore_errors=True)
61 shutil.rmtree(self.tmppath, ignore_errors=True)
62 62
63 63 def _run(self, cmd, *args, **kwargs):
64 64 cmdline = 'darcs %s --repodir=%r %s </dev/null' % (
@@ -74,8 +74,8 b' class darcs_source(converter_source):'
74 74 def checkexit(self, status, output=''):
75 75 if status:
76 76 if output:
77 ui.warn(_('darcs error:\n'))
78 ui.warn(output)
77 self.ui.warn(_('darcs error:\n'))
78 self.ui.warn(output)
79 79 msg = util.explain_exit(status)[0]
80 80 raise util.Abort(_('darcs %s') % msg)
81 81
General Comments 0
You need to be logged in to leave comments. Login now