##// END OF EJS Templates
Fix bug in exception handling for hardlink clone
mpm@selenic.com -
r770:b3820ce0 default
parent child Browse files
Show More
@@ -436,7 +436,7 b' def clone(ui, source, dest=None, **opts)'
436 copyfile)
436 copyfile)
437 try:
437 try:
438 os.unlink(os.path.join(dest, ".hg", "dirstate"))
438 os.unlink(os.path.join(dest, ".hg", "dirstate"))
439 except IOError:
439 except OSError:
440 pass
440 pass
441
441
442 repo = hg.repository(ui, dest)
442 repo = hg.repository(ui, dest)
General Comments 0
You need to be logged in to leave comments. Login now