test-rollback: enable for Windows
authorAdrian Buehlmann <adrian@cadifra.com>
Mon, 11 Jun 2012 19:04:18 +0200
changeset 16916 c76175cd1415
parent 16915 ccebe526d321
child 16917 bebe376b938f
test-rollback: enable for Windows but without the part that needs serve
tests/test-rollback.t
--- a/tests/test-rollback.t	Mon Jun 11 13:41:02 2012 +0200
+++ b/tests/test-rollback.t	Mon Jun 11 19:04:18 2012 +0200
@@ -1,5 +1,3 @@
-  $ "$TESTDIR/hghave" serve || exit 80
-
 setup repo
   $ hg init t
   $ cd t
@@ -124,6 +122,7 @@
 
 test rollback on served repository
 
+#if serve
   $ hg commit -m "precious commit message"
   $ hg serve -p $HGPORT -d --pid-file=hg.pid -A access.log -E errors.log
   $ cat hg.pid >> $DAEMON_PIDS
@@ -148,6 +147,7 @@
   working directory now based on revision 0
   $ hg id default
   791dd2169706
+#endif
 
 update to older changeset and then refuse rollback, because
 that would lose data (issue2998)