# HG changeset patch # User Pierre-Yves David # Date 1472216298 -7200 # Node ID 10d10563e2a895f376a42acaa791aace4b851016 # Parent c8749ae18cd9ce2d8f03c9f9225b24ee0ebf3388 test: add testing of stack output in 'stack-data' test. We are going to display common information, so we reuse test case. diff -r c8749ae18cd9 -r 10d10563e2a8 tests/test-topic-stack-data.t --- a/tests/test-topic-stack-data.t Fri Aug 26 14:58:49 2016 +0200 +++ b/tests/test-topic-stack-data.t Fri Aug 26 14:58:18 2016 +0200 @@ -235,3 +235,28 @@ "troubledcount": 2 } ] + +Also test this situation with 'hg stack' +======================================= + + $ hg stack bar + t5: add bar_c + t2^ add bar_b (base) + t4$ add bar_e (unstable) + t3: bar1_d + t2: add bar_b + t1: add bar_a + ^ add base_e + $ hg stack baz + t2: add baz_b + t1: add baz_a + ^ add base_c + $ hg stack foo + t2@ add foo_b (current) + t1: add foo_a + ^ add lake_a + $ hg stack fuz + t3$ add fuz_c (unstable) + t2$ add fuz_b (unstable) + t1: fuz1_a + ^ add base_d