changeset 770:b3820ce0e88a

Fix bug in exception handling for hardlink clone
author mpm@selenic.com
date Sat, 23 Jul 2005 10:14:42 -0500
parents 0c033ef053ab
children 0de223012086 8162ff905b33
files mercurial/commands.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/commands.py	Sat Jul 23 10:08:40 2005 -0500
+++ b/mercurial/commands.py	Sat Jul 23 10:14:42 2005 -0500
@@ -436,7 +436,7 @@
                       copyfile)
         try:
             os.unlink(os.path.join(dest, ".hg", "dirstate"))
-        except IOError:
+        except OSError:
             pass
 
         repo = hg.repository(ui, dest)