changeset 917 | 7f3f55903496 |
parent 912 | 302f83b85054 |
child 1015 | 22571b8d35d3 |
--- a/mercurial/util.py +++ b/mercurial/util.py @@ -187,7 +187,7 @@ def copytree(src, dst, copyfile): elif os.path.isfile(srcname): copyfile(srcname, dstname) else: - raise IOError("Not a regular file: %r" % srcname) + pass def _makelock_file(info, pathname): ld = os.open(pathname, os.O_CREAT | os.O_WRONLY | os.O_EXCL)