equal
deleted
inserted
replaced
70 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
70 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
71 +++ b/obsol_c Thu Jan 01 00:00:00 1970 +0000 |
71 +++ b/obsol_c Thu Jan 01 00:00:00 1970 +0000 |
72 @@ -0,0 +1,1 @@ |
72 @@ -0,0 +1,1 @@ |
73 +obsol_c |
73 +obsol_c |
74 |
74 |
|
75 Test that obsolete successors a properly computed |
|
76 |
|
77 $ qlog -r 'successors(2)' --hidden |
|
78 3 |
|
79 - 0d3f46688ccc |
|
80 |
75 test obsolete changeset with no-obsolete descendant |
81 test obsolete changeset with no-obsolete descendant |
76 $ hg up 1 -q |
82 $ hg up 1 -q |
77 $ mkcommit "obsol_c'" # 4 (on 1) |
83 $ mkcommit "obsol_c'" # 4 (on 1) |
78 created new head |
84 created new head |
79 $ hg debugobsolete 4 3 |
85 $ hg debugobsolete 4 3 |
92 $ qlog -r 'allprecursors(4)' --hidden |
98 $ qlog -r 'allprecursors(4)' --hidden |
93 2 |
99 2 |
94 - 4538525df7e2 |
100 - 4538525df7e2 |
95 3 |
101 3 |
96 - 0d3f46688ccc |
102 - 0d3f46688ccc |
|
103 $ qlog -r 'allsuccessors(2)' --hidden |
|
104 3 |
|
105 - 0d3f46688ccc |
|
106 4 |
|
107 - 725c380fe99b |
97 $ hg up 3 -q |
108 $ hg up 3 -q |
98 Working directory parent is obsolete |
109 Working directory parent is obsolete |
99 $ mkcommit d # 5 (on 3) |
110 $ mkcommit d # 5 (on 3) |
100 $ qlog -r 'obsolete()' |
111 $ qlog -r 'obsolete()' |
101 3 |
112 3 |