[PATCH] test-status: stabilize for no-execbit platforms

Matt Harbison mharbison72 at gmail.com
Wed Jan 13 05:11:48 UTC 2016


# HG changeset patch
# User Matt Harbison <matt_harbison at yahoo.com>
# Date 1452661766 18000
#      Wed Jan 13 00:09:26 2016 -0500
# Node ID 02d2a7b1c1ed8f845fa505ddbc93b2be597936bb
# Parent  23d2c2f86fefdb1d1fd7c47d3dc7ab8712e872ea
test-status: stabilize for no-execbit platforms

The preceding #if conditional was the only modification to the file, so the
"reverting file" line in the subsequent revert command was getting dropped.

diff --git a/tests/test-status.t b/tests/test-status.t
--- a/tests/test-status.t
+++ b/tests/test-status.t
@@ -386,6 +386,10 @@
   $ hg status -A --rev 0
   M file
 
+#else
+force 'file' mod so the next revert does actual work
+  $ echo foo > file
+
 #endif
 
 reverted and commit change should appear clean


More information about the Mercurial-devel mailing list