mirror of
https://github.com/facebook/sapling.git
synced 2024-10-07 07:17:55 +03:00
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
This commit is contained in:
parent
4d367c3543
commit
4d8c9c4521
@ -1302,12 +1302,17 @@ Test that clone behaves like pull and doesn't publish changesets as plain push
|
||||
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
|
||||
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 !)
|
||||
#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
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user