Mercurial > evolve
comparison tests/test-topic-stack.t @ 2988:62201935e1a7
topics/ui: detect and signal when an empty changeset becomes non-empty
author | Aurélien Campéas |
---|---|
date | Tue, 26 Sep 2017 12:39:11 +0200 |
parents | 4746b92cc1f8 |
children | a61634f52742 |
comparison
equal
deleted
inserted
replaced
2987:d59d6413bb68 | 2988:62201935e1a7 |
---|---|
15 $ hg topic other | 15 $ hg topic other |
16 marked working directory as topic: other | 16 marked working directory as topic: other |
17 $ echo aaa > aaa | 17 $ echo aaa > aaa |
18 $ hg add aaa | 18 $ hg add aaa |
19 $ hg commit -m c_a | 19 $ hg commit -m c_a |
20 active topic 'other' grew its first changeset | |
20 $ echo aaa > bbb | 21 $ echo aaa > bbb |
21 $ hg add bbb | 22 $ hg add bbb |
22 $ hg commit -m c_b | 23 $ hg commit -m c_b |
23 $ hg topic foo | 24 $ hg topic foo |
24 $ echo aaa > ccc | 25 $ echo aaa > ccc |
25 $ hg add ccc | 26 $ hg add ccc |
26 $ hg commit -m c_c | 27 $ hg commit -m c_c |
28 active topic 'foo' grew its first changeset | |
27 $ echo aaa > ddd | 29 $ echo aaa > ddd |
28 $ hg add ddd | 30 $ hg add ddd |
29 $ hg commit -m c_d | 31 $ hg commit -m c_d |
30 $ echo aaa > eee | 32 $ echo aaa > eee |
31 $ hg add eee | 33 $ hg add eee |
573 $ hg topic red | 575 $ hg topic red |
574 marked working directory as topic: red | 576 marked working directory as topic: red |
575 $ echo bbb > bbb | 577 $ echo bbb > bbb |
576 $ hg commit -Am 'c_B' | 578 $ hg commit -Am 'c_B' |
577 adding bbb | 579 adding bbb |
580 active topic 'red' grew its first changeset | |
578 $ echo ccc > ccc | 581 $ echo ccc > ccc |
579 $ hg commit -Am 'c_C' | 582 $ hg commit -Am 'c_C' |
580 adding ccc | 583 adding ccc |
581 $ hg topic blue | 584 $ hg topic blue |
582 $ echo ddd > ddd | 585 $ echo ddd > ddd |
583 $ hg commit -Am 'c_D' | 586 $ hg commit -Am 'c_D' |
584 adding ddd | 587 adding ddd |
588 active topic 'blue' grew its first changeset | |
585 $ hg up 'desc("c_B")' | 589 $ hg up 'desc("c_B")' |
586 switching to topic red | 590 switching to topic red |
587 0 files updated, 0 files merged, 2 files removed, 0 files unresolved | 591 0 files updated, 0 files merged, 2 files removed, 0 files unresolved |
588 $ echo eee > eee | 592 $ echo eee > eee |
589 $ hg commit -Am 'c_E' | 593 $ hg commit -Am 'c_E' |