diff -r 874e577e332e -r 03f27b1381f9 mercurial/commands.py --- a/mercurial/commands.py Tue Jun 28 11:06:25 2005 -0800 +++ b/mercurial/commands.py Wed Jun 29 10:42:35 2005 -0800 @@ -312,12 +312,12 @@ update(ui, repo) success = True - + finally: if created and not success: import shutil shutil.rmtree(dest, True) - + def commit(ui, repo, *files, **opts): """commit the specified files or all outstanding changes""" text = opts['text']