Mercurial > evolve
annotate tests/test-evolve-effectflags.t @ 2896:462adae9fea7
obsfate: use effect flag information for computing a better verb
author | Boris Feld <boris.feld@octobus.net> |
---|---|
date | Wed, 09 Aug 2017 11:32:19 +0200 |
parents | 07b9fcf8b6d3 |
children | 06844693bb21 |
rev | line source |
---|---|
2446
4b2f4da124a2
effectflag: allow to save effect of change in obsmarkers
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
1 Test the 'effect-flags' feature |
4b2f4da124a2
effectflag: allow to save effect of change in obsmarkers
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
2 |
4b2f4da124a2
effectflag: allow to save effect of change in obsmarkers
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
3 Global setup |
4b2f4da124a2
effectflag: allow to save effect of change in obsmarkers
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
4 ============ |
4b2f4da124a2
effectflag: allow to save effect of change in obsmarkers
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
5 |
4b2f4da124a2
effectflag: allow to save effect of change in obsmarkers
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
6 $ . $TESTDIR/testlib/common.sh |
4b2f4da124a2
effectflag: allow to save effect of change in obsmarkers
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
7 $ cat >> $HGRCPATH <<EOF |
4b2f4da124a2
effectflag: allow to save effect of change in obsmarkers
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
8 > [ui] |
4b2f4da124a2
effectflag: allow to save effect of change in obsmarkers
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
9 > interactive = true |
4b2f4da124a2
effectflag: allow to save effect of change in obsmarkers
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
10 > [phases] |
4b2f4da124a2
effectflag: allow to save effect of change in obsmarkers
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
11 > publish=False |
4b2f4da124a2
effectflag: allow to save effect of change in obsmarkers
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
12 > [extensions] |
4b2f4da124a2
effectflag: allow to save effect of change in obsmarkers
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
13 > evolve = |
2449
0b05142117d2
effectflag: detect parent change
Boris Feld <boris.feld@octobus.net>
parents:
2448
diff
changeset
|
14 > rebase = |
2446
4b2f4da124a2
effectflag: allow to save effect of change in obsmarkers
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
15 > [experimental] |
4b2f4da124a2
effectflag: allow to save effect of change in obsmarkers
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
16 > evolution.effect-flags = 1 |
4b2f4da124a2
effectflag: allow to save effect of change in obsmarkers
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
17 > EOF |
4b2f4da124a2
effectflag: allow to save effect of change in obsmarkers
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
18 |
4b2f4da124a2
effectflag: allow to save effect of change in obsmarkers
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
19 $ hg init $TESTTMP/effect-flags |
4b2f4da124a2
effectflag: allow to save effect of change in obsmarkers
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
20 $ cd $TESTTMP/effect-flags |
4b2f4da124a2
effectflag: allow to save effect of change in obsmarkers
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
21 $ mkcommit ROOT |
4b2f4da124a2
effectflag: allow to save effect of change in obsmarkers
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
22 |
2447
631ccf45f0bb
effect-flag: rework existing test to prepare for mor tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2446
diff
changeset
|
23 amend touching the description only |
631ccf45f0bb
effect-flag: rework existing test to prepare for mor tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2446
diff
changeset
|
24 ----------------------------------- |
2446
4b2f4da124a2
effectflag: allow to save effect of change in obsmarkers
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
25 |
4b2f4da124a2
effectflag: allow to save effect of change in obsmarkers
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
26 $ mkcommit A0 |
4b2f4da124a2
effectflag: allow to save effect of change in obsmarkers
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
27 $ hg amend -m "A1" |
4b2f4da124a2
effectflag: allow to save effect of change in obsmarkers
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
28 |
4b2f4da124a2
effectflag: allow to save effect of change in obsmarkers
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
29 check result |
4b2f4da124a2
effectflag: allow to save effect of change in obsmarkers
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
30 |
2447
631ccf45f0bb
effect-flag: rework existing test to prepare for mor tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2446
diff
changeset
|
31 $ hg debugobsolete --rev . |
2446
4b2f4da124a2
effectflag: allow to save effect of change in obsmarkers
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
32 471f378eab4c5e25f6c77f785b27c936efb22874 fdf9bde5129a28d4548fadd3f62b265cdd3b7a2e 0 (*) {'ef1': '1', 'user': 'test'} (glob) |
4b2f4da124a2
effectflag: allow to save effect of change in obsmarkers
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
33 $ hg obslog . |
4b2f4da124a2
effectflag: allow to save effect of change in obsmarkers
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
34 @ fdf9bde5129a (2) A1 |
4b2f4da124a2
effectflag: allow to save effect of change in obsmarkers
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
35 | |
4b2f4da124a2
effectflag: allow to save effect of change in obsmarkers
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
36 x 471f378eab4c (1) A0 |
2832
07b9fcf8b6d3
output: update obsfate / obslog output order
Boris Feld <boris.feld@octobus.net>
parents:
2522
diff
changeset
|
37 rewritten(description) as fdf9bde5129a by test (*) (glob) |
2446
4b2f4da124a2
effectflag: allow to save effect of change in obsmarkers
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
38 |
2896
462adae9fea7
obsfate: use effect flag information for computing a better verb
Boris Feld <boris.feld@octobus.net>
parents:
2832
diff
changeset
|
39 $ hg log --hidden -r "desc(A0)" |
462adae9fea7
obsfate: use effect flag information for computing a better verb
Boris Feld <boris.feld@octobus.net>
parents:
2832
diff
changeset
|
40 changeset: 1:471f378eab4c |
462adae9fea7
obsfate: use effect flag information for computing a better verb
Boris Feld <boris.feld@octobus.net>
parents:
2832
diff
changeset
|
41 user: test |
462adae9fea7
obsfate: use effect flag information for computing a better verb
Boris Feld <boris.feld@octobus.net>
parents:
2832
diff
changeset
|
42 date: Thu Jan 01 00:00:00 1970 +0000 |
462adae9fea7
obsfate: use effect flag information for computing a better verb
Boris Feld <boris.feld@octobus.net>
parents:
2832
diff
changeset
|
43 obsolete: reworded as fdf9bde5129a |
462adae9fea7
obsfate: use effect flag information for computing a better verb
Boris Feld <boris.feld@octobus.net>
parents:
2832
diff
changeset
|
44 summary: A0 |
462adae9fea7
obsfate: use effect flag information for computing a better verb
Boris Feld <boris.feld@octobus.net>
parents:
2832
diff
changeset
|
45 |
2448
66f05d5f4769
effectflag: detect meta changes
Boris Feld <boris.feld@octobus.net>
parents:
2447
diff
changeset
|
46 |
2492
c9f1118b33d6
effectflag: split effect flag meta
Boris Feld <boris.feld@octobus.net>
parents:
2453
diff
changeset
|
47 amend touching the user only |
c9f1118b33d6
effectflag: split effect flag meta
Boris Feld <boris.feld@octobus.net>
parents:
2453
diff
changeset
|
48 ---------------------------- |
2448
66f05d5f4769
effectflag: detect meta changes
Boris Feld <boris.feld@octobus.net>
parents:
2447
diff
changeset
|
49 |
66f05d5f4769
effectflag: detect meta changes
Boris Feld <boris.feld@octobus.net>
parents:
2447
diff
changeset
|
50 $ mkcommit B0 |
66f05d5f4769
effectflag: detect meta changes
Boris Feld <boris.feld@octobus.net>
parents:
2447
diff
changeset
|
51 $ hg amend -u "bob <bob@bob.com>" |
66f05d5f4769
effectflag: detect meta changes
Boris Feld <boris.feld@octobus.net>
parents:
2447
diff
changeset
|
52 |
66f05d5f4769
effectflag: detect meta changes
Boris Feld <boris.feld@octobus.net>
parents:
2447
diff
changeset
|
53 check result |
66f05d5f4769
effectflag: detect meta changes
Boris Feld <boris.feld@octobus.net>
parents:
2447
diff
changeset
|
54 |
66f05d5f4769
effectflag: detect meta changes
Boris Feld <boris.feld@octobus.net>
parents:
2447
diff
changeset
|
55 $ hg debugobsolete --rev . |
2518
86f97e7c5aa5
test: fix test-evolve-effectflags dates
Boris Feld <boris.feld@octobus.net>
parents:
2492
diff
changeset
|
56 ef4a313b1e0ade55718395d80e6b88c5ccd875eb 5485c92d34330dac9d7a63dc07e1e3373835b964 0 (*) {'ef1': '16', 'user': 'test'} (glob) |
2448
66f05d5f4769
effectflag: detect meta changes
Boris Feld <boris.feld@octobus.net>
parents:
2447
diff
changeset
|
57 $ hg obslog . |
66f05d5f4769
effectflag: detect meta changes
Boris Feld <boris.feld@octobus.net>
parents:
2447
diff
changeset
|
58 @ 5485c92d3433 (4) B0 |
66f05d5f4769
effectflag: detect meta changes
Boris Feld <boris.feld@octobus.net>
parents:
2447
diff
changeset
|
59 | |
66f05d5f4769
effectflag: detect meta changes
Boris Feld <boris.feld@octobus.net>
parents:
2447
diff
changeset
|
60 x ef4a313b1e0a (3) B0 |
2832
07b9fcf8b6d3
output: update obsfate / obslog output order
Boris Feld <boris.feld@octobus.net>
parents:
2522
diff
changeset
|
61 rewritten(user) as 5485c92d3433 by test (*) (glob) |
2492
c9f1118b33d6
effectflag: split effect flag meta
Boris Feld <boris.feld@octobus.net>
parents:
2453
diff
changeset
|
62 |
2896
462adae9fea7
obsfate: use effect flag information for computing a better verb
Boris Feld <boris.feld@octobus.net>
parents:
2832
diff
changeset
|
63 $ hg log --hidden -r "ef4a313b1e0a" |
462adae9fea7
obsfate: use effect flag information for computing a better verb
Boris Feld <boris.feld@octobus.net>
parents:
2832
diff
changeset
|
64 changeset: 3:ef4a313b1e0a |
462adae9fea7
obsfate: use effect flag information for computing a better verb
Boris Feld <boris.feld@octobus.net>
parents:
2832
diff
changeset
|
65 user: test |
462adae9fea7
obsfate: use effect flag information for computing a better verb
Boris Feld <boris.feld@octobus.net>
parents:
2832
diff
changeset
|
66 date: Thu Jan 01 00:00:00 1970 +0000 |
462adae9fea7
obsfate: use effect flag information for computing a better verb
Boris Feld <boris.feld@octobus.net>
parents:
2832
diff
changeset
|
67 obsolete: reauthored as 5485c92d3433 |
462adae9fea7
obsfate: use effect flag information for computing a better verb
Boris Feld <boris.feld@octobus.net>
parents:
2832
diff
changeset
|
68 summary: B0 |
462adae9fea7
obsfate: use effect flag information for computing a better verb
Boris Feld <boris.feld@octobus.net>
parents:
2832
diff
changeset
|
69 |
2492
c9f1118b33d6
effectflag: split effect flag meta
Boris Feld <boris.feld@octobus.net>
parents:
2453
diff
changeset
|
70 |
c9f1118b33d6
effectflag: split effect flag meta
Boris Feld <boris.feld@octobus.net>
parents:
2453
diff
changeset
|
71 amend touching the date only |
c9f1118b33d6
effectflag: split effect flag meta
Boris Feld <boris.feld@octobus.net>
parents:
2453
diff
changeset
|
72 ---------------------------- |
c9f1118b33d6
effectflag: split effect flag meta
Boris Feld <boris.feld@octobus.net>
parents:
2453
diff
changeset
|
73 |
c9f1118b33d6
effectflag: split effect flag meta
Boris Feld <boris.feld@octobus.net>
parents:
2453
diff
changeset
|
74 $ mkcommit B1 |
c9f1118b33d6
effectflag: split effect flag meta
Boris Feld <boris.feld@octobus.net>
parents:
2453
diff
changeset
|
75 $ hg amend -d "42 0" |
c9f1118b33d6
effectflag: split effect flag meta
Boris Feld <boris.feld@octobus.net>
parents:
2453
diff
changeset
|
76 |
c9f1118b33d6
effectflag: split effect flag meta
Boris Feld <boris.feld@octobus.net>
parents:
2453
diff
changeset
|
77 check result |
c9f1118b33d6
effectflag: split effect flag meta
Boris Feld <boris.feld@octobus.net>
parents:
2453
diff
changeset
|
78 |
c9f1118b33d6
effectflag: split effect flag meta
Boris Feld <boris.feld@octobus.net>
parents:
2453
diff
changeset
|
79 $ hg debugobsolete --rev . |
2518
86f97e7c5aa5
test: fix test-evolve-effectflags dates
Boris Feld <boris.feld@octobus.net>
parents:
2492
diff
changeset
|
80 2ef0680ff45038ac28c9f1ff3644341f54487280 4dd84345082e9e5291c2e6b3f335bbf8bf389378 0 (*) {'ef1': '32', 'user': 'test'} (glob) |
2492
c9f1118b33d6
effectflag: split effect flag meta
Boris Feld <boris.feld@octobus.net>
parents:
2453
diff
changeset
|
81 $ hg obslog . |
c9f1118b33d6
effectflag: split effect flag meta
Boris Feld <boris.feld@octobus.net>
parents:
2453
diff
changeset
|
82 @ 4dd84345082e (6) B1 |
c9f1118b33d6
effectflag: split effect flag meta
Boris Feld <boris.feld@octobus.net>
parents:
2453
diff
changeset
|
83 | |
c9f1118b33d6
effectflag: split effect flag meta
Boris Feld <boris.feld@octobus.net>
parents:
2453
diff
changeset
|
84 x 2ef0680ff450 (5) B1 |
2832
07b9fcf8b6d3
output: update obsfate / obslog output order
Boris Feld <boris.feld@octobus.net>
parents:
2522
diff
changeset
|
85 rewritten(date) as 4dd84345082e by test (*) (glob) |
2448
66f05d5f4769
effectflag: detect meta changes
Boris Feld <boris.feld@octobus.net>
parents:
2447
diff
changeset
|
86 |
2896
462adae9fea7
obsfate: use effect flag information for computing a better verb
Boris Feld <boris.feld@octobus.net>
parents:
2832
diff
changeset
|
87 $ hg log --hidden -r "2ef0680ff450" |
462adae9fea7
obsfate: use effect flag information for computing a better verb
Boris Feld <boris.feld@octobus.net>
parents:
2832
diff
changeset
|
88 changeset: 5:2ef0680ff450 |
462adae9fea7
obsfate: use effect flag information for computing a better verb
Boris Feld <boris.feld@octobus.net>
parents:
2832
diff
changeset
|
89 user: test |
462adae9fea7
obsfate: use effect flag information for computing a better verb
Boris Feld <boris.feld@octobus.net>
parents:
2832
diff
changeset
|
90 date: Thu Jan 01 00:00:00 1970 +0000 |
462adae9fea7
obsfate: use effect flag information for computing a better verb
Boris Feld <boris.feld@octobus.net>
parents:
2832
diff
changeset
|
91 obsolete: date-changed as 4dd84345082e |
462adae9fea7
obsfate: use effect flag information for computing a better verb
Boris Feld <boris.feld@octobus.net>
parents:
2832
diff
changeset
|
92 summary: B1 |
462adae9fea7
obsfate: use effect flag information for computing a better verb
Boris Feld <boris.feld@octobus.net>
parents:
2832
diff
changeset
|
93 |
2453
ad08aedf25ac
obshistory: display informations from the obs marker effect flag
Boris Feld <boris.feld@octobus.net>
parents:
2452
diff
changeset
|
94 |
2492
c9f1118b33d6
effectflag: split effect flag meta
Boris Feld <boris.feld@octobus.net>
parents:
2453
diff
changeset
|
95 amend touching the branch only |
c9f1118b33d6
effectflag: split effect flag meta
Boris Feld <boris.feld@octobus.net>
parents:
2453
diff
changeset
|
96 ---------------------------- |
c9f1118b33d6
effectflag: split effect flag meta
Boris Feld <boris.feld@octobus.net>
parents:
2453
diff
changeset
|
97 |
c9f1118b33d6
effectflag: split effect flag meta
Boris Feld <boris.feld@octobus.net>
parents:
2453
diff
changeset
|
98 $ mkcommit B2 |
c9f1118b33d6
effectflag: split effect flag meta
Boris Feld <boris.feld@octobus.net>
parents:
2453
diff
changeset
|
99 $ hg branch my-branch |
c9f1118b33d6
effectflag: split effect flag meta
Boris Feld <boris.feld@octobus.net>
parents:
2453
diff
changeset
|
100 marked working directory as branch my-branch |
c9f1118b33d6
effectflag: split effect flag meta
Boris Feld <boris.feld@octobus.net>
parents:
2453
diff
changeset
|
101 (branches are permanent and global, did you want a bookmark?) |
c9f1118b33d6
effectflag: split effect flag meta
Boris Feld <boris.feld@octobus.net>
parents:
2453
diff
changeset
|
102 $ hg amend |
c9f1118b33d6
effectflag: split effect flag meta
Boris Feld <boris.feld@octobus.net>
parents:
2453
diff
changeset
|
103 |
c9f1118b33d6
effectflag: split effect flag meta
Boris Feld <boris.feld@octobus.net>
parents:
2453
diff
changeset
|
104 check result |
c9f1118b33d6
effectflag: split effect flag meta
Boris Feld <boris.feld@octobus.net>
parents:
2453
diff
changeset
|
105 |
c9f1118b33d6
effectflag: split effect flag meta
Boris Feld <boris.feld@octobus.net>
parents:
2453
diff
changeset
|
106 $ hg debugobsolete --rev . |
2518
86f97e7c5aa5
test: fix test-evolve-effectflags dates
Boris Feld <boris.feld@octobus.net>
parents:
2492
diff
changeset
|
107 4d1430a201c1ffbd8465dec75edd4a691a2d97ec 0 {bd3db8264ceebf1966319f5df3be7aac6acd1a8e} (*) {'ef1': '0', 'user': 'test'} (glob) |
86f97e7c5aa5
test: fix test-evolve-effectflags dates
Boris Feld <boris.feld@octobus.net>
parents:
2492
diff
changeset
|
108 bd3db8264ceebf1966319f5df3be7aac6acd1a8e 14a01456e0574f0e0a0b15b2345486a6364a8d79 0 (*) {'ef1': '64', 'user': 'test'} (glob) |
2492
c9f1118b33d6
effectflag: split effect flag meta
Boris Feld <boris.feld@octobus.net>
parents:
2453
diff
changeset
|
109 $ hg obslog . |
c9f1118b33d6
effectflag: split effect flag meta
Boris Feld <boris.feld@octobus.net>
parents:
2453
diff
changeset
|
110 @ 14a01456e057 (9) B2 |
c9f1118b33d6
effectflag: split effect flag meta
Boris Feld <boris.feld@octobus.net>
parents:
2453
diff
changeset
|
111 | |
c9f1118b33d6
effectflag: split effect flag meta
Boris Feld <boris.feld@octobus.net>
parents:
2453
diff
changeset
|
112 x bd3db8264cee (7) B2 |
2832
07b9fcf8b6d3
output: update obsfate / obslog output order
Boris Feld <boris.feld@octobus.net>
parents:
2522
diff
changeset
|
113 rewritten(branch) as 14a01456e057 by test (*) (glob) |
2492
c9f1118b33d6
effectflag: split effect flag meta
Boris Feld <boris.feld@octobus.net>
parents:
2453
diff
changeset
|
114 |
2896
462adae9fea7
obsfate: use effect flag information for computing a better verb
Boris Feld <boris.feld@octobus.net>
parents:
2832
diff
changeset
|
115 $ hg log --hidden -r "bd3db8264cee" |
462adae9fea7
obsfate: use effect flag information for computing a better verb
Boris Feld <boris.feld@octobus.net>
parents:
2832
diff
changeset
|
116 changeset: 7:bd3db8264cee |
462adae9fea7
obsfate: use effect flag information for computing a better verb
Boris Feld <boris.feld@octobus.net>
parents:
2832
diff
changeset
|
117 user: test |
462adae9fea7
obsfate: use effect flag information for computing a better verb
Boris Feld <boris.feld@octobus.net>
parents:
2832
diff
changeset
|
118 date: Thu Jan 01 00:00:00 1970 +0000 |
462adae9fea7
obsfate: use effect flag information for computing a better verb
Boris Feld <boris.feld@octobus.net>
parents:
2832
diff
changeset
|
119 obsolete: branch-changed as 14a01456e057 |
462adae9fea7
obsfate: use effect flag information for computing a better verb
Boris Feld <boris.feld@octobus.net>
parents:
2832
diff
changeset
|
120 summary: B2 |
462adae9fea7
obsfate: use effect flag information for computing a better verb
Boris Feld <boris.feld@octobus.net>
parents:
2832
diff
changeset
|
121 |
2492
c9f1118b33d6
effectflag: split effect flag meta
Boris Feld <boris.feld@octobus.net>
parents:
2453
diff
changeset
|
122 |
c9f1118b33d6
effectflag: split effect flag meta
Boris Feld <boris.feld@octobus.net>
parents:
2453
diff
changeset
|
123 $ hg up default |
c9f1118b33d6
effectflag: split effect flag meta
Boris Feld <boris.feld@octobus.net>
parents:
2453
diff
changeset
|
124 0 files updated, 0 files merged, 1 files removed, 0 files unresolved |
c9f1118b33d6
effectflag: split effect flag meta
Boris Feld <boris.feld@octobus.net>
parents:
2453
diff
changeset
|
125 |
2449
0b05142117d2
effectflag: detect parent change
Boris Feld <boris.feld@octobus.net>
parents:
2448
diff
changeset
|
126 rebase (parents change) |
0b05142117d2
effectflag: detect parent change
Boris Feld <boris.feld@octobus.net>
parents:
2448
diff
changeset
|
127 ----------------------- |
0b05142117d2
effectflag: detect parent change
Boris Feld <boris.feld@octobus.net>
parents:
2448
diff
changeset
|
128 |
0b05142117d2
effectflag: detect parent change
Boris Feld <boris.feld@octobus.net>
parents:
2448
diff
changeset
|
129 $ mkcommit C0 |
0b05142117d2
effectflag: detect parent change
Boris Feld <boris.feld@octobus.net>
parents:
2448
diff
changeset
|
130 $ mkcommit D0 |
0b05142117d2
effectflag: detect parent change
Boris Feld <boris.feld@octobus.net>
parents:
2448
diff
changeset
|
131 $ hg rebase -r . -d 'desc(B0)' |
2492
c9f1118b33d6
effectflag: split effect flag meta
Boris Feld <boris.feld@octobus.net>
parents:
2453
diff
changeset
|
132 rebasing 11:c85eff83a034 "D0" (tip) |
2449
0b05142117d2
effectflag: detect parent change
Boris Feld <boris.feld@octobus.net>
parents:
2448
diff
changeset
|
133 |
0b05142117d2
effectflag: detect parent change
Boris Feld <boris.feld@octobus.net>
parents:
2448
diff
changeset
|
134 check result |
0b05142117d2
effectflag: detect parent change
Boris Feld <boris.feld@octobus.net>
parents:
2448
diff
changeset
|
135 |
0b05142117d2
effectflag: detect parent change
Boris Feld <boris.feld@octobus.net>
parents:
2448
diff
changeset
|
136 $ hg debugobsolete --rev . |
2518
86f97e7c5aa5
test: fix test-evolve-effectflags dates
Boris Feld <boris.feld@octobus.net>
parents:
2492
diff
changeset
|
137 c85eff83a0340efd9da52b806a94c350222f3371 da86aa2f19a30d6686b15cae15c7b6c908ec9699 0 (*) {'ef1': '4', 'user': 'test'} (glob) |
2449
0b05142117d2
effectflag: detect parent change
Boris Feld <boris.feld@octobus.net>
parents:
2448
diff
changeset
|
138 $ hg obslog . |
2492
c9f1118b33d6
effectflag: split effect flag meta
Boris Feld <boris.feld@octobus.net>
parents:
2453
diff
changeset
|
139 @ da86aa2f19a3 (12) D0 |
2449
0b05142117d2
effectflag: detect parent change
Boris Feld <boris.feld@octobus.net>
parents:
2448
diff
changeset
|
140 | |
2492
c9f1118b33d6
effectflag: split effect flag meta
Boris Feld <boris.feld@octobus.net>
parents:
2453
diff
changeset
|
141 x c85eff83a034 (11) D0 |
2832
07b9fcf8b6d3
output: update obsfate / obslog output order
Boris Feld <boris.feld@octobus.net>
parents:
2522
diff
changeset
|
142 rewritten(parent) as da86aa2f19a3 by test (*) (glob) |
2449
0b05142117d2
effectflag: detect parent change
Boris Feld <boris.feld@octobus.net>
parents:
2448
diff
changeset
|
143 |
2896
462adae9fea7
obsfate: use effect flag information for computing a better verb
Boris Feld <boris.feld@octobus.net>
parents:
2832
diff
changeset
|
144 $ hg log --hidden -r "c85eff83a034" |
462adae9fea7
obsfate: use effect flag information for computing a better verb
Boris Feld <boris.feld@octobus.net>
parents:
2832
diff
changeset
|
145 changeset: 11:c85eff83a034 |
462adae9fea7
obsfate: use effect flag information for computing a better verb
Boris Feld <boris.feld@octobus.net>
parents:
2832
diff
changeset
|
146 user: test |
462adae9fea7
obsfate: use effect flag information for computing a better verb
Boris Feld <boris.feld@octobus.net>
parents:
2832
diff
changeset
|
147 date: Thu Jan 01 00:00:00 1970 +0000 |
462adae9fea7
obsfate: use effect flag information for computing a better verb
Boris Feld <boris.feld@octobus.net>
parents:
2832
diff
changeset
|
148 obsolete: rebased as da86aa2f19a3 |
462adae9fea7
obsfate: use effect flag information for computing a better verb
Boris Feld <boris.feld@octobus.net>
parents:
2832
diff
changeset
|
149 summary: D0 |
462adae9fea7
obsfate: use effect flag information for computing a better verb
Boris Feld <boris.feld@octobus.net>
parents:
2832
diff
changeset
|
150 |
2450
98613938d098
effectflag: basic diff change detection
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2449
diff
changeset
|
151 |
98613938d098
effectflag: basic diff change detection
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2449
diff
changeset
|
152 amend touching the diff |
98613938d098
effectflag: basic diff change detection
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2449
diff
changeset
|
153 ----------------------- |
98613938d098
effectflag: basic diff change detection
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2449
diff
changeset
|
154 |
98613938d098
effectflag: basic diff change detection
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2449
diff
changeset
|
155 $ mkcommit E0 |
98613938d098
effectflag: basic diff change detection
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2449
diff
changeset
|
156 $ echo 42 >> E0 |
98613938d098
effectflag: basic diff change detection
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2449
diff
changeset
|
157 $ hg amend |
98613938d098
effectflag: basic diff change detection
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2449
diff
changeset
|
158 |
98613938d098
effectflag: basic diff change detection
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2449
diff
changeset
|
159 check result |
98613938d098
effectflag: basic diff change detection
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2449
diff
changeset
|
160 |
98613938d098
effectflag: basic diff change detection
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2449
diff
changeset
|
161 $ hg debugobsolete --rev . |
2518
86f97e7c5aa5
test: fix test-evolve-effectflags dates
Boris Feld <boris.feld@octobus.net>
parents:
2492
diff
changeset
|
162 d6f4d8b8d3c8cde990f13915bced7f92ce1cc54f 0 {ebfe0333e0d96f68a917afd97c0a0af87f1c3b5f} (*) {'ef1': '0', 'user': 'test'} (glob) |
86f97e7c5aa5
test: fix test-evolve-effectflags dates
Boris Feld <boris.feld@octobus.net>
parents:
2492
diff
changeset
|
163 ebfe0333e0d96f68a917afd97c0a0af87f1c3b5f 75781fdbdbf58a987516b00c980bccda1e9ae588 0 (*) {'ef1': '8', 'user': 'test'} (glob) |
2450
98613938d098
effectflag: basic diff change detection
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2449
diff
changeset
|
164 $ hg obslog . |
2492
c9f1118b33d6
effectflag: split effect flag meta
Boris Feld <boris.feld@octobus.net>
parents:
2453
diff
changeset
|
165 @ 75781fdbdbf5 (15) E0 |
2450
98613938d098
effectflag: basic diff change detection
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2449
diff
changeset
|
166 | |
2492
c9f1118b33d6
effectflag: split effect flag meta
Boris Feld <boris.feld@octobus.net>
parents:
2453
diff
changeset
|
167 x ebfe0333e0d9 (13) E0 |
2832
07b9fcf8b6d3
output: update obsfate / obslog output order
Boris Feld <boris.feld@octobus.net>
parents:
2522
diff
changeset
|
168 rewritten(content) as 75781fdbdbf5 by test (*) (glob) |
2450
98613938d098
effectflag: basic diff change detection
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2449
diff
changeset
|
169 |
2896
462adae9fea7
obsfate: use effect flag information for computing a better verb
Boris Feld <boris.feld@octobus.net>
parents:
2832
diff
changeset
|
170 $ hg log --hidden -r "ebfe0333e0d9" |
462adae9fea7
obsfate: use effect flag information for computing a better verb
Boris Feld <boris.feld@octobus.net>
parents:
2832
diff
changeset
|
171 changeset: 13:ebfe0333e0d9 |
462adae9fea7
obsfate: use effect flag information for computing a better verb
Boris Feld <boris.feld@octobus.net>
parents:
2832
diff
changeset
|
172 user: test |
462adae9fea7
obsfate: use effect flag information for computing a better verb
Boris Feld <boris.feld@octobus.net>
parents:
2832
diff
changeset
|
173 date: Thu Jan 01 00:00:00 1970 +0000 |
462adae9fea7
obsfate: use effect flag information for computing a better verb
Boris Feld <boris.feld@octobus.net>
parents:
2832
diff
changeset
|
174 obsolete: amended as 75781fdbdbf5 |
462adae9fea7
obsfate: use effect flag information for computing a better verb
Boris Feld <boris.feld@octobus.net>
parents:
2832
diff
changeset
|
175 summary: E0 |
462adae9fea7
obsfate: use effect flag information for computing a better verb
Boris Feld <boris.feld@octobus.net>
parents:
2832
diff
changeset
|
176 |
2451
5dc7294327ed
effectflag: add test combining multiple flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2450
diff
changeset
|
177 |
5dc7294327ed
effectflag: add test combining multiple flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2450
diff
changeset
|
178 amend with multiple effect (desc and meta) |
5dc7294327ed
effectflag: add test combining multiple flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2450
diff
changeset
|
179 ------------------------------------------- |
5dc7294327ed
effectflag: add test combining multiple flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2450
diff
changeset
|
180 |
5dc7294327ed
effectflag: add test combining multiple flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2450
diff
changeset
|
181 $ mkcommit F0 |
2492
c9f1118b33d6
effectflag: split effect flag meta
Boris Feld <boris.feld@octobus.net>
parents:
2453
diff
changeset
|
182 $ hg branch my-other-branch |
c9f1118b33d6
effectflag: split effect flag meta
Boris Feld <boris.feld@octobus.net>
parents:
2453
diff
changeset
|
183 marked working directory as branch my-other-branch |
c9f1118b33d6
effectflag: split effect flag meta
Boris Feld <boris.feld@octobus.net>
parents:
2453
diff
changeset
|
184 $ hg amend -m F1 -u "bob <bob@bob.com>" -d "42 0" |
2451
5dc7294327ed
effectflag: add test combining multiple flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2450
diff
changeset
|
185 |
5dc7294327ed
effectflag: add test combining multiple flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2450
diff
changeset
|
186 check result |
5dc7294327ed
effectflag: add test combining multiple flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2450
diff
changeset
|
187 |
5dc7294327ed
effectflag: add test combining multiple flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2450
diff
changeset
|
188 $ hg debugobsolete --rev . |
2518
86f97e7c5aa5
test: fix test-evolve-effectflags dates
Boris Feld <boris.feld@octobus.net>
parents:
2492
diff
changeset
|
189 3b12912003b4e7aa6df6cded86255006c3c29d27 0 {fad47e5bd78e6aa4db1b5a0a1751bc12563655ff} (*) {'ef1': '0', 'user': 'test'} (glob) |
86f97e7c5aa5
test: fix test-evolve-effectflags dates
Boris Feld <boris.feld@octobus.net>
parents:
2492
diff
changeset
|
190 fad47e5bd78e6aa4db1b5a0a1751bc12563655ff a94e0fd5f1c81d969381a76eb0d37ce499a44fae 0 (*) {'ef1': '113', 'user': 'test'} (glob) |
2451
5dc7294327ed
effectflag: add test combining multiple flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2450
diff
changeset
|
191 $ hg obslog . |
2492
c9f1118b33d6
effectflag: split effect flag meta
Boris Feld <boris.feld@octobus.net>
parents:
2453
diff
changeset
|
192 @ a94e0fd5f1c8 (18) F1 |
2451
5dc7294327ed
effectflag: add test combining multiple flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2450
diff
changeset
|
193 | |
2492
c9f1118b33d6
effectflag: split effect flag meta
Boris Feld <boris.feld@octobus.net>
parents:
2453
diff
changeset
|
194 x fad47e5bd78e (16) F0 |
2832
07b9fcf8b6d3
output: update obsfate / obslog output order
Boris Feld <boris.feld@octobus.net>
parents:
2522
diff
changeset
|
195 rewritten(description, user, date, branch) as a94e0fd5f1c8 by test (*) (glob) |
2451
5dc7294327ed
effectflag: add test combining multiple flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2450
diff
changeset
|
196 |
2896
462adae9fea7
obsfate: use effect flag information for computing a better verb
Boris Feld <boris.feld@octobus.net>
parents:
2832
diff
changeset
|
197 $ hg log --hidden -r "fad47e5bd78e" |
462adae9fea7
obsfate: use effect flag information for computing a better verb
Boris Feld <boris.feld@octobus.net>
parents:
2832
diff
changeset
|
198 changeset: 16:fad47e5bd78e |
462adae9fea7
obsfate: use effect flag information for computing a better verb
Boris Feld <boris.feld@octobus.net>
parents:
2832
diff
changeset
|
199 user: test |
462adae9fea7
obsfate: use effect flag information for computing a better verb
Boris Feld <boris.feld@octobus.net>
parents:
2832
diff
changeset
|
200 date: Thu Jan 01 00:00:00 1970 +0000 |
462adae9fea7
obsfate: use effect flag information for computing a better verb
Boris Feld <boris.feld@octobus.net>
parents:
2832
diff
changeset
|
201 obsolete: rewritten as a94e0fd5f1c8 |
462adae9fea7
obsfate: use effect flag information for computing a better verb
Boris Feld <boris.feld@octobus.net>
parents:
2832
diff
changeset
|
202 summary: F0 |
462adae9fea7
obsfate: use effect flag information for computing a better verb
Boris Feld <boris.feld@octobus.net>
parents:
2832
diff
changeset
|
203 |
462adae9fea7
obsfate: use effect flag information for computing a better verb
Boris Feld <boris.feld@octobus.net>
parents:
2832
diff
changeset
|
204 |
2519
4b2e9674c0b7
effectflag: add a test for content detection
Boris Feld <boris.feld@octobus.net>
parents:
2518
diff
changeset
|
205 rebase not touching the diff |
4b2e9674c0b7
effectflag: add a test for content detection
Boris Feld <boris.feld@octobus.net>
parents:
2518
diff
changeset
|
206 ---------------------------- |
4b2e9674c0b7
effectflag: add a test for content detection
Boris Feld <boris.feld@octobus.net>
parents:
2518
diff
changeset
|
207 |
4b2e9674c0b7
effectflag: add a test for content detection
Boris Feld <boris.feld@octobus.net>
parents:
2518
diff
changeset
|
208 $ cat << EOF > H0 |
4b2e9674c0b7
effectflag: add a test for content detection
Boris Feld <boris.feld@octobus.net>
parents:
2518
diff
changeset
|
209 > 0 |
4b2e9674c0b7
effectflag: add a test for content detection
Boris Feld <boris.feld@octobus.net>
parents:
2518
diff
changeset
|
210 > 1 |
4b2e9674c0b7
effectflag: add a test for content detection
Boris Feld <boris.feld@octobus.net>
parents:
2518
diff
changeset
|
211 > 2 |
4b2e9674c0b7
effectflag: add a test for content detection
Boris Feld <boris.feld@octobus.net>
parents:
2518
diff
changeset
|
212 > 3 |
4b2e9674c0b7
effectflag: add a test for content detection
Boris Feld <boris.feld@octobus.net>
parents:
2518
diff
changeset
|
213 > 4 |
4b2e9674c0b7
effectflag: add a test for content detection
Boris Feld <boris.feld@octobus.net>
parents:
2518
diff
changeset
|
214 > 5 |
4b2e9674c0b7
effectflag: add a test for content detection
Boris Feld <boris.feld@octobus.net>
parents:
2518
diff
changeset
|
215 > 6 |
4b2e9674c0b7
effectflag: add a test for content detection
Boris Feld <boris.feld@octobus.net>
parents:
2518
diff
changeset
|
216 > 7 |
4b2e9674c0b7
effectflag: add a test for content detection
Boris Feld <boris.feld@octobus.net>
parents:
2518
diff
changeset
|
217 > 8 |
4b2e9674c0b7
effectflag: add a test for content detection
Boris Feld <boris.feld@octobus.net>
parents:
2518
diff
changeset
|
218 > 9 |
4b2e9674c0b7
effectflag: add a test for content detection
Boris Feld <boris.feld@octobus.net>
parents:
2518
diff
changeset
|
219 > 10 |
4b2e9674c0b7
effectflag: add a test for content detection
Boris Feld <boris.feld@octobus.net>
parents:
2518
diff
changeset
|
220 > EOF |
4b2e9674c0b7
effectflag: add a test for content detection
Boris Feld <boris.feld@octobus.net>
parents:
2518
diff
changeset
|
221 $ hg add H0 |
4b2e9674c0b7
effectflag: add a test for content detection
Boris Feld <boris.feld@octobus.net>
parents:
2518
diff
changeset
|
222 $ hg commit -m 'H0' |
4b2e9674c0b7
effectflag: add a test for content detection
Boris Feld <boris.feld@octobus.net>
parents:
2518
diff
changeset
|
223 $ echo "H1" >> H0 |
4b2e9674c0b7
effectflag: add a test for content detection
Boris Feld <boris.feld@octobus.net>
parents:
2518
diff
changeset
|
224 $ hg commit -m "H1" |
4b2e9674c0b7
effectflag: add a test for content detection
Boris Feld <boris.feld@octobus.net>
parents:
2518
diff
changeset
|
225 $ hg up -r "desc(H0)" |
4b2e9674c0b7
effectflag: add a test for content detection
Boris Feld <boris.feld@octobus.net>
parents:
2518
diff
changeset
|
226 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
4b2e9674c0b7
effectflag: add a test for content detection
Boris Feld <boris.feld@octobus.net>
parents:
2518
diff
changeset
|
227 $ cat << EOF > H0 |
4b2e9674c0b7
effectflag: add a test for content detection
Boris Feld <boris.feld@octobus.net>
parents:
2518
diff
changeset
|
228 > H2 |
4b2e9674c0b7
effectflag: add a test for content detection
Boris Feld <boris.feld@octobus.net>
parents:
2518
diff
changeset
|
229 > 0 |
4b2e9674c0b7
effectflag: add a test for content detection
Boris Feld <boris.feld@octobus.net>
parents:
2518
diff
changeset
|
230 > 1 |
4b2e9674c0b7
effectflag: add a test for content detection
Boris Feld <boris.feld@octobus.net>
parents:
2518
diff
changeset
|
231 > 2 |
4b2e9674c0b7
effectflag: add a test for content detection
Boris Feld <boris.feld@octobus.net>
parents:
2518
diff
changeset
|
232 > 3 |
4b2e9674c0b7
effectflag: add a test for content detection
Boris Feld <boris.feld@octobus.net>
parents:
2518
diff
changeset
|
233 > 4 |
4b2e9674c0b7
effectflag: add a test for content detection
Boris Feld <boris.feld@octobus.net>
parents:
2518
diff
changeset
|
234 > 5 |
4b2e9674c0b7
effectflag: add a test for content detection
Boris Feld <boris.feld@octobus.net>
parents:
2518
diff
changeset
|
235 > 6 |
4b2e9674c0b7
effectflag: add a test for content detection
Boris Feld <boris.feld@octobus.net>
parents:
2518
diff
changeset
|
236 > 7 |
4b2e9674c0b7
effectflag: add a test for content detection
Boris Feld <boris.feld@octobus.net>
parents:
2518
diff
changeset
|
237 > 8 |
4b2e9674c0b7
effectflag: add a test for content detection
Boris Feld <boris.feld@octobus.net>
parents:
2518
diff
changeset
|
238 > 9 |
4b2e9674c0b7
effectflag: add a test for content detection
Boris Feld <boris.feld@octobus.net>
parents:
2518
diff
changeset
|
239 > 10 |
4b2e9674c0b7
effectflag: add a test for content detection
Boris Feld <boris.feld@octobus.net>
parents:
2518
diff
changeset
|
240 > EOF |
4b2e9674c0b7
effectflag: add a test for content detection
Boris Feld <boris.feld@octobus.net>
parents:
2518
diff
changeset
|
241 $ hg commit -m "H2" |
4b2e9674c0b7
effectflag: add a test for content detection
Boris Feld <boris.feld@octobus.net>
parents:
2518
diff
changeset
|
242 created new head |
4b2e9674c0b7
effectflag: add a test for content detection
Boris Feld <boris.feld@octobus.net>
parents:
2518
diff
changeset
|
243 $ hg rebase -s "desc(H1)" -d "desc(H2)" -t :merge3 |
4b2e9674c0b7
effectflag: add a test for content detection
Boris Feld <boris.feld@octobus.net>
parents:
2518
diff
changeset
|
244 rebasing 20:b57fed8d8322 "H1" |
4b2e9674c0b7
effectflag: add a test for content detection
Boris Feld <boris.feld@octobus.net>
parents:
2518
diff
changeset
|
245 merging H0 |
4b2e9674c0b7
effectflag: add a test for content detection
Boris Feld <boris.feld@octobus.net>
parents:
2518
diff
changeset
|
246 $ hg obslog tip |
4b2e9674c0b7
effectflag: add a test for content detection
Boris Feld <boris.feld@octobus.net>
parents:
2518
diff
changeset
|
247 o e509e2eb3df5 (22) H1 |
4b2e9674c0b7
effectflag: add a test for content detection
Boris Feld <boris.feld@octobus.net>
parents:
2518
diff
changeset
|
248 | |
4b2e9674c0b7
effectflag: add a test for content detection
Boris Feld <boris.feld@octobus.net>
parents:
2518
diff
changeset
|
249 x b57fed8d8322 (20) H1 |
2832
07b9fcf8b6d3
output: update obsfate / obslog output order
Boris Feld <boris.feld@octobus.net>
parents:
2522
diff
changeset
|
250 rewritten(parent) as e509e2eb3df5 by test (*) (glob) |
2519
4b2e9674c0b7
effectflag: add a test for content detection
Boris Feld <boris.feld@octobus.net>
parents:
2518
diff
changeset
|
251 |
2896
462adae9fea7
obsfate: use effect flag information for computing a better verb
Boris Feld <boris.feld@octobus.net>
parents:
2832
diff
changeset
|
252 $ hg log --hidden -r "b57fed8d8322" |
462adae9fea7
obsfate: use effect flag information for computing a better verb
Boris Feld <boris.feld@octobus.net>
parents:
2832
diff
changeset
|
253 changeset: 20:b57fed8d8322 |
462adae9fea7
obsfate: use effect flag information for computing a better verb
Boris Feld <boris.feld@octobus.net>
parents:
2832
diff
changeset
|
254 branch: my-other-branch |
462adae9fea7
obsfate: use effect flag information for computing a better verb
Boris Feld <boris.feld@octobus.net>
parents:
2832
diff
changeset
|
255 user: test |
462adae9fea7
obsfate: use effect flag information for computing a better verb
Boris Feld <boris.feld@octobus.net>
parents:
2832
diff
changeset
|
256 date: Thu Jan 01 00:00:00 1970 +0000 |
462adae9fea7
obsfate: use effect flag information for computing a better verb
Boris Feld <boris.feld@octobus.net>
parents:
2832
diff
changeset
|
257 obsolete: rebased as e509e2eb3df5 |
462adae9fea7
obsfate: use effect flag information for computing a better verb
Boris Feld <boris.feld@octobus.net>
parents:
2832
diff
changeset
|
258 summary: H1 |
462adae9fea7
obsfate: use effect flag information for computing a better verb
Boris Feld <boris.feld@octobus.net>
parents:
2832
diff
changeset
|
259 |
2522
a1cc2a0b9f6f
effetflag: detect other meta (extra) changes
Boris Feld <boris.feld@octobus.net>
parents:
2520
diff
changeset
|
260 amend closing the branch should be detected as meta change |
a1cc2a0b9f6f
effetflag: detect other meta (extra) changes
Boris Feld <boris.feld@octobus.net>
parents:
2520
diff
changeset
|
261 ---------------------------------------------------------- |
a1cc2a0b9f6f
effetflag: detect other meta (extra) changes
Boris Feld <boris.feld@octobus.net>
parents:
2520
diff
changeset
|
262 |
a1cc2a0b9f6f
effetflag: detect other meta (extra) changes
Boris Feld <boris.feld@octobus.net>
parents:
2520
diff
changeset
|
263 $ hg branch closedbranch |
a1cc2a0b9f6f
effetflag: detect other meta (extra) changes
Boris Feld <boris.feld@octobus.net>
parents:
2520
diff
changeset
|
264 marked working directory as branch closedbranch |
a1cc2a0b9f6f
effetflag: detect other meta (extra) changes
Boris Feld <boris.feld@octobus.net>
parents:
2520
diff
changeset
|
265 $ mkcommit G0 |
a1cc2a0b9f6f
effetflag: detect other meta (extra) changes
Boris Feld <boris.feld@octobus.net>
parents:
2520
diff
changeset
|
266 $ mkcommit I0 |
a1cc2a0b9f6f
effetflag: detect other meta (extra) changes
Boris Feld <boris.feld@octobus.net>
parents:
2520
diff
changeset
|
267 $ hg commit --amend --close-branch |
a1cc2a0b9f6f
effetflag: detect other meta (extra) changes
Boris Feld <boris.feld@octobus.net>
parents:
2520
diff
changeset
|
268 |
a1cc2a0b9f6f
effetflag: detect other meta (extra) changes
Boris Feld <boris.feld@octobus.net>
parents:
2520
diff
changeset
|
269 check result |
a1cc2a0b9f6f
effetflag: detect other meta (extra) changes
Boris Feld <boris.feld@octobus.net>
parents:
2520
diff
changeset
|
270 |
a1cc2a0b9f6f
effetflag: detect other meta (extra) changes
Boris Feld <boris.feld@octobus.net>
parents:
2520
diff
changeset
|
271 $ hg obslog . |
a1cc2a0b9f6f
effetflag: detect other meta (extra) changes
Boris Feld <boris.feld@octobus.net>
parents:
2520
diff
changeset
|
272 @ 12c6238b5e37 (26) I0 |
a1cc2a0b9f6f
effetflag: detect other meta (extra) changes
Boris Feld <boris.feld@octobus.net>
parents:
2520
diff
changeset
|
273 | |
a1cc2a0b9f6f
effetflag: detect other meta (extra) changes
Boris Feld <boris.feld@octobus.net>
parents:
2520
diff
changeset
|
274 x 2f599e54c1c6 (24) I0 |
2832
07b9fcf8b6d3
output: update obsfate / obslog output order
Boris Feld <boris.feld@octobus.net>
parents:
2522
diff
changeset
|
275 rewritten(meta) as 12c6238b5e37 by test (*) (glob) |
2522
a1cc2a0b9f6f
effetflag: detect other meta (extra) changes
Boris Feld <boris.feld@octobus.net>
parents:
2520
diff
changeset
|
276 |
2896
462adae9fea7
obsfate: use effect flag information for computing a better verb
Boris Feld <boris.feld@octobus.net>
parents:
2832
diff
changeset
|
277 $ hg log --hidden -r "2f599e54c1c6" |
462adae9fea7
obsfate: use effect flag information for computing a better verb
Boris Feld <boris.feld@octobus.net>
parents:
2832
diff
changeset
|
278 changeset: 24:2f599e54c1c6 |
462adae9fea7
obsfate: use effect flag information for computing a better verb
Boris Feld <boris.feld@octobus.net>
parents:
2832
diff
changeset
|
279 branch: closedbranch |
462adae9fea7
obsfate: use effect flag information for computing a better verb
Boris Feld <boris.feld@octobus.net>
parents:
2832
diff
changeset
|
280 user: test |
462adae9fea7
obsfate: use effect flag information for computing a better verb
Boris Feld <boris.feld@octobus.net>
parents:
2832
diff
changeset
|
281 date: Thu Jan 01 00:00:00 1970 +0000 |
462adae9fea7
obsfate: use effect flag information for computing a better verb
Boris Feld <boris.feld@octobus.net>
parents:
2832
diff
changeset
|
282 obsolete: meta-changed as 12c6238b5e37 |
462adae9fea7
obsfate: use effect flag information for computing a better verb
Boris Feld <boris.feld@octobus.net>
parents:
2832
diff
changeset
|
283 summary: I0 |
462adae9fea7
obsfate: use effect flag information for computing a better verb
Boris Feld <boris.feld@octobus.net>
parents:
2832
diff
changeset
|
284 |