Mercurial > hg-stable
changeset 5362:4ad2a18aff42
convert: fix a few residual bugs in darcs importer
author | Bryan O'Sullivan <bos@serpentine.com> |
---|---|
date | Tue, 02 Oct 2007 21:00:38 -0700 |
parents | 6b6104430964 |
children | 9bdce4a7964c |
files | hgext/convert/darcs.py |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext/convert/darcs.py Tue Oct 02 13:49:11 2007 -0700 +++ b/hgext/convert/darcs.py Tue Oct 02 21:00:38 2007 -0700 @@ -58,7 +58,7 @@ def after(self): self.ui.debug('cleaning up %s\n' % self.tmppath) - #shutil.rmtree(self.tmppath, ignore_errors=True) + shutil.rmtree(self.tmppath, ignore_errors=True) def _run(self, cmd, *args, **kwargs): cmdline = 'darcs %s --repodir=%r %s </dev/null' % ( @@ -74,8 +74,8 @@ def checkexit(self, status, output=''): if status: if output: - ui.warn(_('darcs error:\n')) - ui.warn(output) + self.ui.warn(_('darcs error:\n')) + self.ui.warn(output) msg = util.explain_exit(status)[0] raise util.Abort(_('darcs %s') % msg)