diff mercurial/util.py @ 24164:07a92bbd02e5 stable 3.3.2

transaction: really disable hardlink backups (issue4546)
author Matt Harbison <matt_harbison@yahoo.com>
date Mon, 02 Mar 2015 10:31:22 -0500
parents e5ce49a30146
children 5a7920c4d2ea
line wrap: on
line diff
--- a/mercurial/util.py	Mon Mar 02 01:06:31 2015 -0600
+++ b/mercurial/util.py	Mon Mar 02 10:31:22 2015 -0500
@@ -722,7 +722,7 @@
         unlink(dest)
     # hardlinks are problematic on CIFS, quietly ignore this flag
     # until we find a way to work around it cleanly (issue4546)
-    if False or hardlink:
+    if False and hardlink:
         try:
             oslink(src, dest)
             return