[PATCH] test-rollback: enable for Windows

Adrian Buehlmann adrian at cadifra.com
Mon Jun 11 12:06:49 CDT 2012


# HG changeset patch
# User Adrian Buehlmann <adrian at cadifra.com>
# Date 1339434258 -7200
# Node ID e59bc7223a129cc479c40bd5eaa9528800b770d9
# Parent  94a733a45851ec3b7d99228f5669a527e69a1e89
test-rollback: enable for Windows

but without the part that needs serve

diff --git a/tests/test-rollback.t b/tests/test-rollback.t
--- a/tests/test-rollback.t
+++ b/tests/test-rollback.t
@@ -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)


More information about the Mercurial-devel mailing list