mercurial/win32.py
changeset 12387 4f8067c94729
parent 11992 ccd8e592c3c5
child 12401 4cdaf1adafc8
--- a/mercurial/win32.py	Thu Sep 23 10:59:21 2010 +0200
+++ b/mercurial/win32.py	Thu Sep 23 00:02:31 2010 -0500
@@ -50,7 +50,7 @@
         if not dirname:
             dirname = '.'
         dt = win32file.GetDriveType(dirname + '\\')
-        if dt == 4 or dt == 1:
+        if dt in (4, 1):
             # Fake hardlink to force COW for network drives
             links = 2
     return links