tests: drop redundant "#if execbit" from test-rebase-inmemory.t
authorMartin von Zweigbergk <martinvonz@google.com>
Tue, 04 Dec 2018 08:50:33 -0800
changeset 53595 23dc238972480cc40790dd6b45cd4c99c37f9156
parent 53594 77173267878b2afdb8280538b91873cfa4071ff7
child 53596 59aed775610a54add37893185ff2226d30161523
push id1079
push usergszorc@mozilla.com
push dateMon, 10 Dec 2018 19:44:59 +0000
tests: drop redundant "#if execbit" from test-rebase-inmemory.t The whole file is already guarded by "#require execbit". Differential Revision: https://phab.mercurial-scm.org/D5366
tests/test-rebase-inmemory.t
--- a/tests/test-rebase-inmemory.t
+++ b/tests/test-rebase-inmemory.t
@@ -689,18 +689,16 @@ Test --confirm option when there is a co
   |/   c
   |
   o  1:d2ae7f538514 test
   |  b
   |
   o  0:cb9a9f314b8b test
      a
   
-#if execbit
-
 Test a metadata-only in-memory merge
   $ cd $TESTTMP
   $ hg init no_exception
   $ cd no_exception
 # Produce the following graph:
 #   o  'add +x to foo.txt'
 #   | o  r1  (adds bar.txt, just for something to rebase to)
 #   |/
@@ -715,10 +713,8 @@ Test a metadata-only in-memory merge
 issue5960: this was raising an AttributeError exception
   $ hg rebase -r . -d 1
   rebasing 2:539b93e77479 "add +x to foo.txt" (tip)
   saved backup bundle to $TESTTMP/no_exception/.hg/strip-backup/*.hg (glob)
   $ hg diff -c tip
   diff --git a/foo.txt b/foo.txt
   old mode 100644
   new mode 100755
-
-#endif