tests/hghave
branchstable
changeset 1012 018ef69bbe2f
parent 1010 13862cca5537
child 1013 e00f51032041
--- a/tests/hghave	Mon Nov 07 03:14:55 2011 +0100
+++ b/tests/hghave	Mon Nov 07 03:14:55 2011 +0100
@@ -209,6 +209,9 @@
     except ImportError:
         return False
 
+def has_windows():
+    return os.name == 'nt'
+
 checks = {
     "baz": (has_baz, "GNU Arch baz client"),
     "bzr": (has_bzr, "Canonical's Bazaar client"),
@@ -239,6 +242,7 @@
     "symlink": (has_symlink, "symbolic links"),
     "tla": (has_tla, "GNU Arch tla client"),
     "unix-permissions": (has_unix_permissions, "unix-style permissions"),
+    "windows": (has_windows, "Windows"),
 }
 
 def list_features():