Ignore errors when removing temp dir in kwdemo
authorChristian Ebert <blacktrash@gmx.net>
Wed, 03 Oct 2007 08:22:27 +0200
changeset 251 b37f2f065a9c
parent 250 b28a2832cba4
child 252 001902b60bdd
Ignore errors when removing temp dir in kwdemo
hgkw/keyword.py
--- a/hgkw/keyword.py	Sun Sep 23 12:22:13 2007 +0100
+++ b/hgkw/keyword.py	Wed Oct 03 08:22:27 2007 +0200
@@ -446,7 +446,7 @@
     _demostatus('%s keywords expanded%s' % (kwstatus, pathinfo))
     ui.write(repo.wread(fn))
     ui.debug(_('\nremoving temporary repo %s\n') % tmpdir)
-    shutil.rmtree(tmpdir)
+    shutil.rmtree(tmpdir, ignore_errors=True)
 
 
 def reposetup(ui, repo):