mercurial/win32.py
changeset 12401 4cdaf1adafc8
parent 12387 4f8067c94729
child 12689 c52c629ce19e
--- a/mercurial/win32.py	Fri Sep 24 12:00:55 2010 +0200
+++ b/mercurial/win32.py	Fri Sep 24 12:46:54 2010 -0500
@@ -50,7 +50,7 @@
         if not dirname:
             dirname = '.'
         dt = win32file.GetDriveType(dirname + '\\')
-        if dt in (4, 1):
+        if dt == 4 or dt == 1:
             # Fake hardlink to force COW for network drives
             links = 2
     return links