mercurial/util.py
changeset 917 7f3f55903496
parent 912 302f83b85054
child 1015 22571b8d35d3
--- 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)