Mercurial > evolve
comparison tests/test-topic.t @ 1852:3084687f7994
commit: add a topic field to the in-editor commit text
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Wed, 10 Jun 2015 17:52:07 -0500 |
parents | 67d53e8e0c1a |
children | 8db7828751b7 |
comparison
equal
deleted
inserted
replaced
1851:67d53e8e0c1a | 1852:3084687f7994 |
---|---|
39 adding gamma | 39 adding gamma |
40 adding delta | 40 adding delta |
41 | 41 |
42 Still no topics | 42 Still no topics |
43 $ hg topics | 43 $ hg topics |
44 | |
45 Test commit flag and help text | |
46 | |
47 $ echo stuff >> alpha | |
48 $ HGEDITOR=cat hg ci -t topicflag | |
49 | |
50 | |
51 HG: Enter commit message. Lines beginning with 'HG:' are removed. | |
52 HG: Leave message empty to abort commit. | |
53 HG: -- | |
54 HG: user: test | |
55 HG: topic 'topicflag' | |
56 HG: branch 'default' | |
57 HG: changed alpha | |
58 abort: empty commit message | |
59 [255] | |
60 $ hg revert alpha | |
61 $ hg topic | |
62 * topicflag | |
44 | 63 |
45 Make a topic | 64 Make a topic |
46 $ hg topic narf | 65 $ hg topic narf |
47 $ hg topics | 66 $ hg topics |
48 * narf | 67 * narf |