equal
deleted
inserted
replaced
|
1 Test the 'effect-flags' feature |
|
2 |
|
3 Global setup |
|
4 ============ |
|
5 |
|
6 $ . $TESTDIR/testlib/common.sh |
|
7 $ cat >> $HGRCPATH <<EOF |
|
8 > [ui] |
|
9 > interactive = true |
|
10 > [phases] |
|
11 > publish=False |
|
12 > [extensions] |
|
13 > evolve = |
|
14 > [experimental] |
|
15 > evolution.effect-flags = 1 |
|
16 > EOF |
|
17 |
|
18 $ hg init $TESTTMP/effect-flags |
|
19 $ cd $TESTTMP/effect-flags |
|
20 $ mkcommit ROOT |
|
21 |
|
22 Test simple amend touching the description only |
|
23 ----------------------------------------------- |
|
24 |
|
25 amend the description only |
|
26 |
|
27 $ mkcommit A0 |
|
28 $ hg amend -m "A1" |
|
29 |
|
30 check result |
|
31 |
|
32 $ hg debugobsolete |
|
33 471f378eab4c5e25f6c77f785b27c936efb22874 fdf9bde5129a28d4548fadd3f62b265cdd3b7a2e 0 (*) {'ef1': '1', 'user': 'test'} (glob) |
|
34 $ hg obslog . |
|
35 @ fdf9bde5129a (2) A1 |
|
36 | |
|
37 x 471f378eab4c (1) A0 |
|
38 rewritten by test (*) as fdf9bde5129a (glob) |
|
39 |