[PATCH 2 of 2] test-mq-qimport: partially enable for Windows

Adrian Buehlmann adrian at cadifra.com
Sun Jun 17 14:24:49 CDT 2012


# HG changeset patch
# User Adrian Buehlmann <adrian at cadifra.com>
# Date 1339961062 -7200
# Node ID 191f0c6cc47c1cf85372f5e5943ca94aa14fcb65
# Parent  c34dabe0218a4a8f0521f30c993e0fab3ed424cf
test-mq-qimport: partially enable for Windows

Narrowing down the serve requirement to the part that really needs it.

diff --git a/tests/test-mq-qimport.t b/tests/test-mq-qimport.t
--- a/tests/test-mq-qimport.t
+++ b/tests/test-mq-qimport.t
@@ -1,5 +1,3 @@
-  $ "$TESTDIR/hghave" serve || exit 80
-
   $ cat > writelines.py <<EOF
   > import sys
   > path = sys.argv[1]
@@ -254,6 +252,8 @@
   $ hg phase qbase
   1: secret
 
+#if serve
+
 qimport http:// patch with leading slashes in url
 
 set up hgweb
@@ -271,4 +271,6 @@
   $ hg qimport http://localhost:$HGPORT/raw-rev/0///
   adding 0 to series file
 
-  $ cd ..
+#endif
+
+  $ cd "$TESTTMP"


More information about the Mercurial-devel mailing list