hghave: enable 'serve' on Windows
authorMatt Harbison <matt_harbison@yahoo.com>
Sun, 07 May 2017 14:58:40 -0400
changeset 32856 41f99a90675d
parent 32855 28f429d19a71
child 32857 d644e859d9da
hghave: enable 'serve' on Windows I've been using a local hghaveaddon.py to enable this for a couple of months with reasonable success, and 'killdaemons' is already enabled on Windows. There's one failure[1] in test-http-proxy.t that this adds, which I can't figure out. [1] https://www.mercurial-scm.org/pipermail/mercurial-devel/2017-April/096987.html
tests/hghave.py
--- a/tests/hghave.py	Thu Jun 15 11:00:29 2017 -0400
+++ b/tests/hghave.py	Sun May 07 14:58:40 2017 -0400
@@ -502,7 +502,7 @@
 
 @check("serve", "platform and python can manage 'hg serve -d'")
 def has_serve():
-    return os.name != 'nt' # gross approximation
+    return True
 
 @check("test-repo", "running tests from repository")
 def has_test_repo():