# HG changeset patch # User Matt Harbison # Date 1500380050 14400 # Node ID da94a99df96b8150ab3cde3df1b70729119e0bce # Parent 3cfabb6cfd51b397b291e4d1d767808137562645 test-phases-exchange: properly conditionalize output I forgot to invert the conditions, and the test runner didn't catch it[1]. But since only '&&' is supported in the per-line feature tests, this won't work anyway. [1] https://www.mercurial-scm.org/pipermail/mercurial-devel/2017-July/101941.html diff -r 3cfabb6cfd51 -r da94a99df96b tests/test-phases-exchange.t --- a/tests/test-phases-exchange.t Tue Jul 18 00:10:44 2017 +0530 +++ b/tests/test-phases-exchange.t Tue Jul 18 08:14:10 2017 -0400 @@ -1302,12 +1302,17 @@ does. The conditional output accounts for changes in the conditional block above. +#if unix-permissions no-root + $ hg -R Upsilon phase -q --force --draft 2 + test-debug-phase: move rev 2: 0 -> 1 +#else $ hg -R Upsilon phase -q --force --draft 2 test-debug-phase: move rev 2: 0 -> 1 - test-debug-phase: move rev 3: 0 -> 1 (unix-permissions no-root !) - test-debug-phase: move rev 7: 0 -> 1 (unix-permissions no-root !) - test-debug-phase: move rev 8: 0 -> 1 (unix-permissions no-root !) - test-debug-phase: move rev 9: 0 -> 1 (unix-permissions no-root !) + test-debug-phase: move rev 3: 0 -> 1 + test-debug-phase: move rev 7: 0 -> 1 + test-debug-phase: move rev 8: 0 -> 1 + test-debug-phase: move rev 9: 0 -> 1 +#endif $ hg clone -q Upsilon Pi -r 7 test-debug-phase: new rev 0: x -> 0