##// END OF EJS Templates
transaction: disable hardlink backups (issue4546)...
Matt Mackall -
r24155:e5ce49a3 stable
parent child Browse files
Show More
@@ -720,7 +720,9 b' def copyfile(src, dest, hardlink=False):'
720 "copy a file, preserving mode and atime/mtime"
720 "copy a file, preserving mode and atime/mtime"
721 if os.path.lexists(dest):
721 if os.path.lexists(dest):
722 unlink(dest)
722 unlink(dest)
723 if hardlink:
723 # hardlinks are problematic on CIFS, quietly ignore this flag
724 # until we find a way to work around it cleanly (issue4546)
725 if False or hardlink:
724 try:
726 try:
725 oslink(src, dest)
727 oslink(src, dest)
726 return
728 return
General Comments 0
You need to be logged in to leave comments. Login now