diff -r fe094cca9915 -r 7f3f55903496 mercurial/util.py --- a/mercurial/util.py Tue Aug 16 14:17:27 2005 -0800 +++ b/mercurial/util.py Tue Aug 16 14:53:47 2005 -0800 @@ -187,7 +187,7 @@ 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)