Mercurial > evolve
annotate tests/test-namespaces-report.t @ 6934:dd518437d4e0 stable
tests: introduce a compat-branches blacklist file
The idea behind this file is to have an easy and obvious mechanism for skipping
some tests on compatibility branches without modifying the test files
themselves or touching .gitlab-ci.yml.
Obviously, each compatibility branch can have different set of tests, and so
the contents of this file can be different on different branches.
This concept had actually existed in core for a long time, see
tests/blacklists/ directory.
author | Anton Shestakov <av6@dwimlabs.net> |
---|---|
date | Sat, 16 Nov 2024 17:59:53 +0400 |
parents | e45bfd1e0588 |
children | 804c55a6a423 2fbe91d762ef |
rev | line source |
---|---|
6499
b165d2bb5868
topic: add better title to tns report tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
6498
diff
changeset
|
1 ============================================================ |
b165d2bb5868
topic: add better title to tns report tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
6498
diff
changeset
|
2 Test detection of topic name space affected by a transaction |
b165d2bb5868
topic: add better title to tns report tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
6498
diff
changeset
|
3 ============================================================ |
b165d2bb5868
topic: add better title to tns report tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
6498
diff
changeset
|
4 |
6496
fba501baf5cb
topic: find and report topic namespace changes in transactions
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
5 Reporting affected topic namespaces in transactions |
fba501baf5cb
topic: find and report topic namespace changes in transactions
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
6 |
fba501baf5cb
topic: find and report topic namespace changes in transactions
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
7 $ . "$TESTDIR/testlib/common.sh" |
fba501baf5cb
topic: find and report topic namespace changes in transactions
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
8 |
fba501baf5cb
topic: find and report topic namespace changes in transactions
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
9 $ cat >> $HGRCPATH << EOF |
fba501baf5cb
topic: find and report topic namespace changes in transactions
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
10 > [extensions] |
fba501baf5cb
topic: find and report topic namespace changes in transactions
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
11 > evolve = |
fba501baf5cb
topic: find and report topic namespace changes in transactions
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
12 > topic = |
fba501baf5cb
topic: find and report topic namespace changes in transactions
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
13 > [phases] |
fba501baf5cb
topic: find and report topic namespace changes in transactions
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
14 > publish = no |
fba501baf5cb
topic: find and report topic namespace changes in transactions
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
15 > [devel] |
fba501baf5cb
topic: find and report topic namespace changes in transactions
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
16 > tns-report-transactions = push |
fba501baf5cb
topic: find and report topic namespace changes in transactions
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
17 > EOF |
fba501baf5cb
topic: find and report topic namespace changes in transactions
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
18 |
fba501baf5cb
topic: find and report topic namespace changes in transactions
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
19 $ hg init orig |
fba501baf5cb
topic: find and report topic namespace changes in transactions
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
20 |
fba501baf5cb
topic: find and report topic namespace changes in transactions
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
21 case 1: new changeset (draft with topic namespace) |
6499
b165d2bb5868
topic: add better title to tns report tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
6498
diff
changeset
|
22 ================================================== |
b165d2bb5868
topic: add better title to tns report tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
6498
diff
changeset
|
23 |
6496
fba501baf5cb
topic: find and report topic namespace changes in transactions
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
24 topic namespace of that changeset is reported |
fba501baf5cb
topic: find and report topic namespace changes in transactions
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
25 |
fba501baf5cb
topic: find and report topic namespace changes in transactions
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
26 $ hg clone orig case-1 -q |
fba501baf5cb
topic: find and report topic namespace changes in transactions
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
27 $ cd orig |
fba501baf5cb
topic: find and report topic namespace changes in transactions
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
28 |
fba501baf5cb
topic: find and report topic namespace changes in transactions
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
29 $ echo apple > a |
fba501baf5cb
topic: find and report topic namespace changes in transactions
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
30 $ hg ci -qAm apple |
fba501baf5cb
topic: find and report topic namespace changes in transactions
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
31 |
fba501baf5cb
topic: find and report topic namespace changes in transactions
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
32 $ hg push ../case-1 |
fba501baf5cb
topic: find and report topic namespace changes in transactions
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
33 pushing to ../case-1 |
fba501baf5cb
topic: find and report topic namespace changes in transactions
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
34 searching for changes |
fba501baf5cb
topic: find and report topic namespace changes in transactions
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
35 adding changesets |
fba501baf5cb
topic: find and report topic namespace changes in transactions
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
36 adding manifests |
fba501baf5cb
topic: find and report topic namespace changes in transactions
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
37 adding file changes |
fba501baf5cb
topic: find and report topic namespace changes in transactions
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
38 added 1 changesets with 1 changes to 1 files |
fba501baf5cb
topic: find and report topic namespace changes in transactions
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
39 |
fba501baf5cb
topic: find and report topic namespace changes in transactions
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
40 $ echo banana > b |
fba501baf5cb
topic: find and report topic namespace changes in transactions
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
41 $ hg debug-topic-namespace bob |
fba501baf5cb
topic: find and report topic namespace changes in transactions
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
42 marked working directory as topic namespace: bob |
6549
e45bfd1e0588
topic: don't write namespace into commit extras if there's no topic
Anton Shestakov <av6@dwimlabs.net>
parents:
6500
diff
changeset
|
43 $ hg topic b |
e45bfd1e0588
topic: don't write namespace into commit extras if there's no topic
Anton Shestakov <av6@dwimlabs.net>
parents:
6500
diff
changeset
|
44 marked working directory as topic: b |
6496
fba501baf5cb
topic: find and report topic namespace changes in transactions
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
45 $ hg ci -qAm 'banana' |
fba501baf5cb
topic: find and report topic namespace changes in transactions
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
46 |
6549
e45bfd1e0588
topic: don't write namespace into commit extras if there's no topic
Anton Shestakov <av6@dwimlabs.net>
parents:
6500
diff
changeset
|
47 $ hg push ../case-1 |
6496
fba501baf5cb
topic: find and report topic namespace changes in transactions
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
48 pushing to ../case-1 |
fba501baf5cb
topic: find and report topic namespace changes in transactions
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
49 searching for changes |
fba501baf5cb
topic: find and report topic namespace changes in transactions
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
50 adding changesets |
fba501baf5cb
topic: find and report topic namespace changes in transactions
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
51 adding manifests |
fba501baf5cb
topic: find and report topic namespace changes in transactions
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
52 adding file changes |
fba501baf5cb
topic: find and report topic namespace changes in transactions
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
53 topic namespaces affected: bob |
fba501baf5cb
topic: find and report topic namespace changes in transactions
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
54 added 1 changesets with 1 changes to 1 files |
fba501baf5cb
topic: find and report topic namespace changes in transactions
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
55 |
fba501baf5cb
topic: find and report topic namespace changes in transactions
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
56 $ cd .. |
fba501baf5cb
topic: find and report topic namespace changes in transactions
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
57 |
fba501baf5cb
topic: find and report topic namespace changes in transactions
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
58 case 2: obsmarker affecting known changeset |
6499
b165d2bb5868
topic: add better title to tns report tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
6498
diff
changeset
|
59 =========================================== |
b165d2bb5868
topic: add better title to tns report tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
6498
diff
changeset
|
60 |
6496
fba501baf5cb
topic: find and report topic namespace changes in transactions
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
61 topic namespaces of both the precursor and the successor are affected |
fba501baf5cb
topic: find and report topic namespace changes in transactions
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
62 |
fba501baf5cb
topic: find and report topic namespace changes in transactions
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
63 $ hg clone orig case-2 -q |
fba501baf5cb
topic: find and report topic namespace changes in transactions
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
64 $ cd orig |
fba501baf5cb
topic: find and report topic namespace changes in transactions
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
65 |
fba501baf5cb
topic: find and report topic namespace changes in transactions
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
66 $ echo broccoli > b |
fba501baf5cb
topic: find and report topic namespace changes in transactions
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
67 $ hg debug-topic-namespace bruce |
fba501baf5cb
topic: find and report topic namespace changes in transactions
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
68 $ hg ci --amend -m 'broccoli' |
fba501baf5cb
topic: find and report topic namespace changes in transactions
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
69 |
6549
e45bfd1e0588
topic: don't write namespace into commit extras if there's no topic
Anton Shestakov <av6@dwimlabs.net>
parents:
6500
diff
changeset
|
70 $ hg push ../case-2 |
6496
fba501baf5cb
topic: find and report topic namespace changes in transactions
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
71 pushing to ../case-2 |
fba501baf5cb
topic: find and report topic namespace changes in transactions
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
72 searching for changes |
fba501baf5cb
topic: find and report topic namespace changes in transactions
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
73 adding changesets |
fba501baf5cb
topic: find and report topic namespace changes in transactions
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
74 adding manifests |
fba501baf5cb
topic: find and report topic namespace changes in transactions
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
75 adding file changes |
fba501baf5cb
topic: find and report topic namespace changes in transactions
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
76 topic namespaces affected: bob bruce |
fba501baf5cb
topic: find and report topic namespace changes in transactions
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
77 added 1 changesets with 1 changes to 1 files (+1 heads) |
fba501baf5cb
topic: find and report topic namespace changes in transactions
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
78 1 new obsolescence markers |
fba501baf5cb
topic: find and report topic namespace changes in transactions
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
79 obsoleted 1 changesets |
fba501baf5cb
topic: find and report topic namespace changes in transactions
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
80 |
fba501baf5cb
topic: find and report topic namespace changes in transactions
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
81 $ cd .. |
fba501baf5cb
topic: find and report topic namespace changes in transactions
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
82 |
6499
b165d2bb5868
topic: add better title to tns report tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
6498
diff
changeset
|
83 case 3: phase divergence |
b165d2bb5868
topic: add better title to tns report tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
6498
diff
changeset
|
84 ======================== |
b165d2bb5868
topic: add better title to tns report tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
6498
diff
changeset
|
85 |
6496
fba501baf5cb
topic: find and report topic namespace changes in transactions
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
86 3 phase divergence resolution can point to a thing but not affect it (probably not affected) |
fba501baf5cb
topic: find and report topic namespace changes in transactions
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
87 |
6500
206fb02765bf
topic: explain the tns reporting case for phase divergence more
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
6499
diff
changeset
|
88 In this case, the pushed changeset comes with an obsmarker whose predecessors |
206fb02765bf
topic: explain the tns reporting case for phase divergence more
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
6499
diff
changeset
|
89 has the `charlie` topic-namespace and the successors has the `carol` |
206fb02765bf
topic: explain the tns reporting case for phase divergence more
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
6499
diff
changeset
|
90 topic-namespace. However, that obsolescence is part of a phase-divergence |
206fb02765bf
topic: explain the tns reporting case for phase divergence more
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
6499
diff
changeset
|
91 fixup, so we should now mark `coconut` as affected since it is already public. |
206fb02765bf
topic: explain the tns reporting case for phase divergence more
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
6499
diff
changeset
|
92 |
6496
fba501baf5cb
topic: find and report topic namespace changes in transactions
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
93 $ hg clone orig case-3 -q |
fba501baf5cb
topic: find and report topic namespace changes in transactions
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
94 $ cd orig |
fba501baf5cb
topic: find and report topic namespace changes in transactions
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
95 |
fba501baf5cb
topic: find and report topic namespace changes in transactions
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
96 $ hg debug-topic-namespace charlie |
6549
e45bfd1e0588
topic: don't write namespace into commit extras if there's no topic
Anton Shestakov <av6@dwimlabs.net>
parents:
6500
diff
changeset
|
97 $ hg topic c |
6496
fba501baf5cb
topic: find and report topic namespace changes in transactions
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
98 $ echo coconut > c |
fba501baf5cb
topic: find and report topic namespace changes in transactions
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
99 $ hg ci -qAm 'coconut' |
fba501baf5cb
topic: find and report topic namespace changes in transactions
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
100 |
fba501baf5cb
topic: find and report topic namespace changes in transactions
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
101 $ hg debug-topic-namespace carol |
fba501baf5cb
topic: find and report topic namespace changes in transactions
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
102 $ echo cloudberry > c |
fba501baf5cb
topic: find and report topic namespace changes in transactions
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
103 $ hg ci --amend -m 'cloudberry' |
fba501baf5cb
topic: find and report topic namespace changes in transactions
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
104 |
fba501baf5cb
topic: find and report topic namespace changes in transactions
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
105 $ hg phase --hidden -r 'desc("coconut")' --public |
fba501baf5cb
topic: find and report topic namespace changes in transactions
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
106 1 new phase-divergent changesets |
fba501baf5cb
topic: find and report topic namespace changes in transactions
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
107 |
fba501baf5cb
topic: find and report topic namespace changes in transactions
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
108 $ hg evolve --phase-divergent |
6549
e45bfd1e0588
topic: don't write namespace into commit extras if there's no topic
Anton Shestakov <av6@dwimlabs.net>
parents:
6500
diff
changeset
|
109 recreate:[s1] cloudberry |
6496
fba501baf5cb
topic: find and report topic namespace changes in transactions
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
110 atop:[3] coconut |
6549
e45bfd1e0588
topic: don't write namespace into commit extras if there's no topic
Anton Shestakov <av6@dwimlabs.net>
parents:
6500
diff
changeset
|
111 committed as 9f1abc6f4a6f |
e45bfd1e0588
topic: don't write namespace into commit extras if there's no topic
Anton Shestakov <av6@dwimlabs.net>
parents:
6500
diff
changeset
|
112 working directory is now at 9f1abc6f4a6f |
6496
fba501baf5cb
topic: find and report topic namespace changes in transactions
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
113 |
6549
e45bfd1e0588
topic: don't write namespace into commit extras if there's no topic
Anton Shestakov <av6@dwimlabs.net>
parents:
6500
diff
changeset
|
114 $ hg push ../case-3 |
6496
fba501baf5cb
topic: find and report topic namespace changes in transactions
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
115 pushing to ../case-3 |
fba501baf5cb
topic: find and report topic namespace changes in transactions
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
116 searching for changes |
fba501baf5cb
topic: find and report topic namespace changes in transactions
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
117 adding changesets |
fba501baf5cb
topic: find and report topic namespace changes in transactions
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
118 adding manifests |
fba501baf5cb
topic: find and report topic namespace changes in transactions
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
119 adding file changes |
fba501baf5cb
topic: find and report topic namespace changes in transactions
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
120 topic namespaces affected: bruce carol |
fba501baf5cb
topic: find and report topic namespace changes in transactions
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
121 added 2 changesets with 2 changes to 1 files |
fba501baf5cb
topic: find and report topic namespace changes in transactions
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
122 2 new obsolescence markers |
fba501baf5cb
topic: find and report topic namespace changes in transactions
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
123 |
fba501baf5cb
topic: find and report topic namespace changes in transactions
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
124 $ cd .. |
fba501baf5cb
topic: find and report topic namespace changes in transactions
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
125 |
6499
b165d2bb5868
topic: add better title to tns report tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
6498
diff
changeset
|
126 case 4: phase movement: publishing drafts |
b165d2bb5868
topic: add better title to tns report tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
6498
diff
changeset
|
127 ========================================= |
b165d2bb5868
topic: add better title to tns report tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
6498
diff
changeset
|
128 |
6496
fba501baf5cb
topic: find and report topic namespace changes in transactions
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
129 topic namespaces of published changesets are affected |
fba501baf5cb
topic: find and report topic namespace changes in transactions
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
130 |
fba501baf5cb
topic: find and report topic namespace changes in transactions
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
131 $ hg clone orig case-4 -q |
fba501baf5cb
topic: find and report topic namespace changes in transactions
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
132 $ cd orig |
fba501baf5cb
topic: find and report topic namespace changes in transactions
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
133 |
fba501baf5cb
topic: find and report topic namespace changes in transactions
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
134 $ hg push ../case-4 --publish |
fba501baf5cb
topic: find and report topic namespace changes in transactions
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
135 pushing to ../case-4 |
fba501baf5cb
topic: find and report topic namespace changes in transactions
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
136 searching for changes |
fba501baf5cb
topic: find and report topic namespace changes in transactions
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
137 no changes found |
fba501baf5cb
topic: find and report topic namespace changes in transactions
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
138 topic namespaces affected: carol |
6549
e45bfd1e0588
topic: don't write namespace into commit extras if there's no topic
Anton Shestakov <av6@dwimlabs.net>
parents:
6500
diff
changeset
|
139 active topic 'c' is now empty |
e45bfd1e0588
topic: don't write namespace into commit extras if there's no topic
Anton Shestakov <av6@dwimlabs.net>
parents:
6500
diff
changeset
|
140 (use 'hg topic --clear' to clear it if needed) |
6496
fba501baf5cb
topic: find and report topic namespace changes in transactions
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
141 [1] |
fba501baf5cb
topic: find and report topic namespace changes in transactions
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
142 |
fba501baf5cb
topic: find and report topic namespace changes in transactions
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
143 $ cd .. |
fba501baf5cb
topic: find and report topic namespace changes in transactions
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
144 |
6499
b165d2bb5868
topic: add better title to tns report tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
6498
diff
changeset
|
145 case 5: bookmark movement |
b165d2bb5868
topic: add better title to tns report tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
6498
diff
changeset
|
146 ========================= |
b165d2bb5868
topic: add better title to tns report tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
6498
diff
changeset
|
147 |
b165d2bb5868
topic: add better title to tns report tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
6498
diff
changeset
|
148 Bookmark movement that affect tns (like putting a bookmark on obsolete |
b165d2bb5868
topic: add better title to tns report tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
6498
diff
changeset
|
149 changesets) their topic namespaces reappear and are therefore reported |
6497
4e0f760d332e
topic: also find and report topic namespace changes caused by bookmarks
Anton Shestakov <av6@dwimlabs.net>
parents:
6496
diff
changeset
|
150 |
4e0f760d332e
topic: also find and report topic namespace changes caused by bookmarks
Anton Shestakov <av6@dwimlabs.net>
parents:
6496
diff
changeset
|
151 $ hg clone orig case-5 -q |
4e0f760d332e
topic: also find and report topic namespace changes caused by bookmarks
Anton Shestakov <av6@dwimlabs.net>
parents:
6496
diff
changeset
|
152 $ cd orig |
4e0f760d332e
topic: also find and report topic namespace changes caused by bookmarks
Anton Shestakov <av6@dwimlabs.net>
parents:
6496
diff
changeset
|
153 |
4e0f760d332e
topic: also find and report topic namespace changes caused by bookmarks
Anton Shestakov <av6@dwimlabs.net>
parents:
6496
diff
changeset
|
154 $ hg debug-topic-namespace dana |
6549
e45bfd1e0588
topic: don't write namespace into commit extras if there's no topic
Anton Shestakov <av6@dwimlabs.net>
parents:
6500
diff
changeset
|
155 $ hg topic d |
6497
4e0f760d332e
topic: also find and report topic namespace changes caused by bookmarks
Anton Shestakov <av6@dwimlabs.net>
parents:
6496
diff
changeset
|
156 $ echo durian > d |
4e0f760d332e
topic: also find and report topic namespace changes caused by bookmarks
Anton Shestakov <av6@dwimlabs.net>
parents:
6496
diff
changeset
|
157 $ hg ci -qAm 'durian' |
4e0f760d332e
topic: also find and report topic namespace changes caused by bookmarks
Anton Shestakov <av6@dwimlabs.net>
parents:
6496
diff
changeset
|
158 |
6549
e45bfd1e0588
topic: don't write namespace into commit extras if there's no topic
Anton Shestakov <av6@dwimlabs.net>
parents:
6500
diff
changeset
|
159 $ hg push ../case-5 |
6497
4e0f760d332e
topic: also find and report topic namespace changes caused by bookmarks
Anton Shestakov <av6@dwimlabs.net>
parents:
6496
diff
changeset
|
160 pushing to ../case-5 |
4e0f760d332e
topic: also find and report topic namespace changes caused by bookmarks
Anton Shestakov <av6@dwimlabs.net>
parents:
6496
diff
changeset
|
161 searching for changes |
4e0f760d332e
topic: also find and report topic namespace changes caused by bookmarks
Anton Shestakov <av6@dwimlabs.net>
parents:
6496
diff
changeset
|
162 adding changesets |
4e0f760d332e
topic: also find and report topic namespace changes caused by bookmarks
Anton Shestakov <av6@dwimlabs.net>
parents:
6496
diff
changeset
|
163 adding manifests |
4e0f760d332e
topic: also find and report topic namespace changes caused by bookmarks
Anton Shestakov <av6@dwimlabs.net>
parents:
6496
diff
changeset
|
164 adding file changes |
4e0f760d332e
topic: also find and report topic namespace changes caused by bookmarks
Anton Shestakov <av6@dwimlabs.net>
parents:
6496
diff
changeset
|
165 topic namespaces affected: dana |
4e0f760d332e
topic: also find and report topic namespace changes caused by bookmarks
Anton Shestakov <av6@dwimlabs.net>
parents:
6496
diff
changeset
|
166 added 1 changesets with 1 changes to 1 files |
4e0f760d332e
topic: also find and report topic namespace changes caused by bookmarks
Anton Shestakov <av6@dwimlabs.net>
parents:
6496
diff
changeset
|
167 |
4e0f760d332e
topic: also find and report topic namespace changes caused by bookmarks
Anton Shestakov <av6@dwimlabs.net>
parents:
6496
diff
changeset
|
168 $ hg debug-topic-namespace dave |
4e0f760d332e
topic: also find and report topic namespace changes caused by bookmarks
Anton Shestakov <av6@dwimlabs.net>
parents:
6496
diff
changeset
|
169 $ echo dragonfruit > d |
4e0f760d332e
topic: also find and report topic namespace changes caused by bookmarks
Anton Shestakov <av6@dwimlabs.net>
parents:
6496
diff
changeset
|
170 $ hg ci --amend -m 'dragonfruit' |
4e0f760d332e
topic: also find and report topic namespace changes caused by bookmarks
Anton Shestakov <av6@dwimlabs.net>
parents:
6496
diff
changeset
|
171 |
6549
e45bfd1e0588
topic: don't write namespace into commit extras if there's no topic
Anton Shestakov <av6@dwimlabs.net>
parents:
6500
diff
changeset
|
172 $ hg push ../case-5 |
6497
4e0f760d332e
topic: also find and report topic namespace changes caused by bookmarks
Anton Shestakov <av6@dwimlabs.net>
parents:
6496
diff
changeset
|
173 pushing to ../case-5 |
4e0f760d332e
topic: also find and report topic namespace changes caused by bookmarks
Anton Shestakov <av6@dwimlabs.net>
parents:
6496
diff
changeset
|
174 searching for changes |
4e0f760d332e
topic: also find and report topic namespace changes caused by bookmarks
Anton Shestakov <av6@dwimlabs.net>
parents:
6496
diff
changeset
|
175 adding changesets |
4e0f760d332e
topic: also find and report topic namespace changes caused by bookmarks
Anton Shestakov <av6@dwimlabs.net>
parents:
6496
diff
changeset
|
176 adding manifests |
4e0f760d332e
topic: also find and report topic namespace changes caused by bookmarks
Anton Shestakov <av6@dwimlabs.net>
parents:
6496
diff
changeset
|
177 adding file changes |
4e0f760d332e
topic: also find and report topic namespace changes caused by bookmarks
Anton Shestakov <av6@dwimlabs.net>
parents:
6496
diff
changeset
|
178 topic namespaces affected: dana dave |
4e0f760d332e
topic: also find and report topic namespace changes caused by bookmarks
Anton Shestakov <av6@dwimlabs.net>
parents:
6496
diff
changeset
|
179 added 1 changesets with 1 changes to 1 files (+1 heads) |
4e0f760d332e
topic: also find and report topic namespace changes caused by bookmarks
Anton Shestakov <av6@dwimlabs.net>
parents:
6496
diff
changeset
|
180 1 new obsolescence markers |
4e0f760d332e
topic: also find and report topic namespace changes caused by bookmarks
Anton Shestakov <av6@dwimlabs.net>
parents:
6496
diff
changeset
|
181 obsoleted 1 changesets |
4e0f760d332e
topic: also find and report topic namespace changes caused by bookmarks
Anton Shestakov <av6@dwimlabs.net>
parents:
6496
diff
changeset
|
182 |
4e0f760d332e
topic: also find and report topic namespace changes caused by bookmarks
Anton Shestakov <av6@dwimlabs.net>
parents:
6496
diff
changeset
|
183 $ hg bookmark --hidden -r 'desc("durian")' @ |
6549
e45bfd1e0588
topic: don't write namespace into commit extras if there's no topic
Anton Shestakov <av6@dwimlabs.net>
parents:
6500
diff
changeset
|
184 bookmarking hidden changeset c56d89b2348b |
e45bfd1e0588
topic: don't write namespace into commit extras if there's no topic
Anton Shestakov <av6@dwimlabs.net>
parents:
6500
diff
changeset
|
185 (hidden revision 'c56d89b2348b' was rewritten as: 7fc662c4767d) |
6497
4e0f760d332e
topic: also find and report topic namespace changes caused by bookmarks
Anton Shestakov <av6@dwimlabs.net>
parents:
6496
diff
changeset
|
186 |
4e0f760d332e
topic: also find and report topic namespace changes caused by bookmarks
Anton Shestakov <av6@dwimlabs.net>
parents:
6496
diff
changeset
|
187 $ hg push ../case-5 -B @ |
4e0f760d332e
topic: also find and report topic namespace changes caused by bookmarks
Anton Shestakov <av6@dwimlabs.net>
parents:
6496
diff
changeset
|
188 pushing to ../case-5 |
4e0f760d332e
topic: also find and report topic namespace changes caused by bookmarks
Anton Shestakov <av6@dwimlabs.net>
parents:
6496
diff
changeset
|
189 searching for changes |
4e0f760d332e
topic: also find and report topic namespace changes caused by bookmarks
Anton Shestakov <av6@dwimlabs.net>
parents:
6496
diff
changeset
|
190 no changes found |
4e0f760d332e
topic: also find and report topic namespace changes caused by bookmarks
Anton Shestakov <av6@dwimlabs.net>
parents:
6496
diff
changeset
|
191 topic namespaces affected: dana |
4e0f760d332e
topic: also find and report topic namespace changes caused by bookmarks
Anton Shestakov <av6@dwimlabs.net>
parents:
6496
diff
changeset
|
192 exporting bookmark @ |
4e0f760d332e
topic: also find and report topic namespace changes caused by bookmarks
Anton Shestakov <av6@dwimlabs.net>
parents:
6496
diff
changeset
|
193 [1] |
4e0f760d332e
topic: also find and report topic namespace changes caused by bookmarks
Anton Shestakov <av6@dwimlabs.net>
parents:
6496
diff
changeset
|
194 |
6496
fba501baf5cb
topic: find and report topic namespace changes in transactions
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
195 $ cd .. |
fba501baf5cb
topic: find and report topic namespace changes in transactions
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
196 |
6499
b165d2bb5868
topic: add better title to tns report tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
6498
diff
changeset
|
197 case 6: phase movement: publishing secret changesets |
b165d2bb5868
topic: add better title to tns report tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
6498
diff
changeset
|
198 ==================================================== |
b165d2bb5868
topic: add better title to tns report tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
6498
diff
changeset
|
199 |
b165d2bb5868
topic: add better title to tns report tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
6498
diff
changeset
|
200 (that are known on the server) |
b165d2bb5868
topic: add better title to tns report tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
6498
diff
changeset
|
201 |
6496
fba501baf5cb
topic: find and report topic namespace changes in transactions
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
202 topic namespaces of published changesets are affected |
fba501baf5cb
topic: find and report topic namespace changes in transactions
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
203 |
fba501baf5cb
topic: find and report topic namespace changes in transactions
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
204 $ hg clone orig case-6 -q |
fba501baf5cb
topic: find and report topic namespace changes in transactions
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
205 $ cd orig |
fba501baf5cb
topic: find and report topic namespace changes in transactions
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
206 |
6549
e45bfd1e0588
topic: don't write namespace into commit extras if there's no topic
Anton Shestakov <av6@dwimlabs.net>
parents:
6500
diff
changeset
|
207 XXX: we see "active topic is now empty" twice because stack doesn't handle topic namespaces yet |
e45bfd1e0588
topic: don't write namespace into commit extras if there's no topic
Anton Shestakov <av6@dwimlabs.net>
parents:
6500
diff
changeset
|
208 |
6496
fba501baf5cb
topic: find and report topic namespace changes in transactions
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
209 $ hg push ../case-6 -r . --publish |
fba501baf5cb
topic: find and report topic namespace changes in transactions
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
210 pushing to ../case-6 |
fba501baf5cb
topic: find and report topic namespace changes in transactions
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
211 searching for changes |
fba501baf5cb
topic: find and report topic namespace changes in transactions
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
212 no changes found |
fba501baf5cb
topic: find and report topic namespace changes in transactions
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
213 topic namespaces affected: dave |
6549
e45bfd1e0588
topic: don't write namespace into commit extras if there's no topic
Anton Shestakov <av6@dwimlabs.net>
parents:
6500
diff
changeset
|
214 active topic 'd' is now empty |
e45bfd1e0588
topic: don't write namespace into commit extras if there's no topic
Anton Shestakov <av6@dwimlabs.net>
parents:
6500
diff
changeset
|
215 active topic 'd' is now empty |
e45bfd1e0588
topic: don't write namespace into commit extras if there's no topic
Anton Shestakov <av6@dwimlabs.net>
parents:
6500
diff
changeset
|
216 (use 'hg topic --clear' to clear it if needed) |
6496
fba501baf5cb
topic: find and report topic namespace changes in transactions
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
217 [1] |
fba501baf5cb
topic: find and report topic namespace changes in transactions
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
218 |
fba501baf5cb
topic: find and report topic namespace changes in transactions
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
219 previous topic namespace is resurrected... |
fba501baf5cb
topic: find and report topic namespace changes in transactions
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
220 |
fba501baf5cb
topic: find and report topic namespace changes in transactions
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
221 $ hg phase --secret --force -r . --config 'devel.tns-report-transactions=phase' |
fba501baf5cb
topic: find and report topic namespace changes in transactions
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
222 topic namespaces affected: dave |
6549
e45bfd1e0588
topic: don't write namespace into commit extras if there's no topic
Anton Shestakov <av6@dwimlabs.net>
parents:
6500
diff
changeset
|
223 active topic 'd' grew its first changeset |
e45bfd1e0588
topic: don't write namespace into commit extras if there's no topic
Anton Shestakov <av6@dwimlabs.net>
parents:
6500
diff
changeset
|
224 (see 'hg help topics' for more information) |
6496
fba501baf5cb
topic: find and report topic namespace changes in transactions
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
225 |
fba501baf5cb
topic: find and report topic namespace changes in transactions
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
226 ...just to disappear again |
fba501baf5cb
topic: find and report topic namespace changes in transactions
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
227 |
fba501baf5cb
topic: find and report topic namespace changes in transactions
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
228 $ hg push ../case-6 -r . --config 'devel.tns-report-transactions=*' |
fba501baf5cb
topic: find and report topic namespace changes in transactions
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
229 pushing to ../case-6 |
fba501baf5cb
topic: find and report topic namespace changes in transactions
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
230 searching for changes |
fba501baf5cb
topic: find and report topic namespace changes in transactions
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
231 no changes found |
fba501baf5cb
topic: find and report topic namespace changes in transactions
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
232 topic namespaces affected: dave |
6549
e45bfd1e0588
topic: don't write namespace into commit extras if there's no topic
Anton Shestakov <av6@dwimlabs.net>
parents:
6500
diff
changeset
|
233 active topic 'd' is now empty |
e45bfd1e0588
topic: don't write namespace into commit extras if there's no topic
Anton Shestakov <av6@dwimlabs.net>
parents:
6500
diff
changeset
|
234 (use 'hg topic --clear' to clear it if needed) |
6496
fba501baf5cb
topic: find and report topic namespace changes in transactions
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
235 [1] |
fba501baf5cb
topic: find and report topic namespace changes in transactions
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
236 |
fba501baf5cb
topic: find and report topic namespace changes in transactions
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
237 $ cd .. |
fba501baf5cb
topic: find and report topic namespace changes in transactions
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
238 |
6499
b165d2bb5868
topic: add better title to tns report tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
6498
diff
changeset
|
239 case 7: phase movement: secret->draft on the server |
b165d2bb5868
topic: add better title to tns report tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
6498
diff
changeset
|
240 =================================================== |
b165d2bb5868
topic: add better title to tns report tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
6498
diff
changeset
|
241 |
6498
7ecb0f9cc7f3
topic: report namespace changes in more cases of phase movements
Anton Shestakov <av6@dwimlabs.net>
parents:
6497
diff
changeset
|
242 changeset becomes visible to peers, so its topic namespace is affected |
7ecb0f9cc7f3
topic: report namespace changes in more cases of phase movements
Anton Shestakov <av6@dwimlabs.net>
parents:
6497
diff
changeset
|
243 |
7ecb0f9cc7f3
topic: report namespace changes in more cases of phase movements
Anton Shestakov <av6@dwimlabs.net>
parents:
6497
diff
changeset
|
244 $ hg clone orig case-7 -q |
7ecb0f9cc7f3
topic: report namespace changes in more cases of phase movements
Anton Shestakov <av6@dwimlabs.net>
parents:
6497
diff
changeset
|
245 $ cd orig |
7ecb0f9cc7f3
topic: report namespace changes in more cases of phase movements
Anton Shestakov <av6@dwimlabs.net>
parents:
6497
diff
changeset
|
246 |
7ecb0f9cc7f3
topic: report namespace changes in more cases of phase movements
Anton Shestakov <av6@dwimlabs.net>
parents:
6497
diff
changeset
|
247 $ hg phase --draft --force -r tip |
6549
e45bfd1e0588
topic: don't write namespace into commit extras if there's no topic
Anton Shestakov <av6@dwimlabs.net>
parents:
6500
diff
changeset
|
248 active topic 'd' grew its first changeset |
e45bfd1e0588
topic: don't write namespace into commit extras if there's no topic
Anton Shestakov <av6@dwimlabs.net>
parents:
6500
diff
changeset
|
249 (see 'hg help topics' for more information) |
6498
7ecb0f9cc7f3
topic: report namespace changes in more cases of phase movements
Anton Shestakov <av6@dwimlabs.net>
parents:
6497
diff
changeset
|
250 $ hg phase --secret --force -r tip -R ../case-7 |
6549
e45bfd1e0588
topic: don't write namespace into commit extras if there's no topic
Anton Shestakov <av6@dwimlabs.net>
parents:
6500
diff
changeset
|
251 active topic 'd' grew its first changeset |
e45bfd1e0588
topic: don't write namespace into commit extras if there's no topic
Anton Shestakov <av6@dwimlabs.net>
parents:
6500
diff
changeset
|
252 (see 'hg help topics' for more information) |
6498
7ecb0f9cc7f3
topic: report namespace changes in more cases of phase movements
Anton Shestakov <av6@dwimlabs.net>
parents:
6497
diff
changeset
|
253 |
6549
e45bfd1e0588
topic: don't write namespace into commit extras if there's no topic
Anton Shestakov <av6@dwimlabs.net>
parents:
6500
diff
changeset
|
254 $ hg push ../case-7 -r . --config 'devel.tns-report-transactions=*' |
6498
7ecb0f9cc7f3
topic: report namespace changes in more cases of phase movements
Anton Shestakov <av6@dwimlabs.net>
parents:
6497
diff
changeset
|
255 pushing to ../case-7 |
7ecb0f9cc7f3
topic: report namespace changes in more cases of phase movements
Anton Shestakov <av6@dwimlabs.net>
parents:
6497
diff
changeset
|
256 searching for changes |
7ecb0f9cc7f3
topic: report namespace changes in more cases of phase movements
Anton Shestakov <av6@dwimlabs.net>
parents:
6497
diff
changeset
|
257 adding changesets |
7ecb0f9cc7f3
topic: report namespace changes in more cases of phase movements
Anton Shestakov <av6@dwimlabs.net>
parents:
6497
diff
changeset
|
258 adding manifests |
7ecb0f9cc7f3
topic: report namespace changes in more cases of phase movements
Anton Shestakov <av6@dwimlabs.net>
parents:
6497
diff
changeset
|
259 adding file changes |
7ecb0f9cc7f3
topic: report namespace changes in more cases of phase movements
Anton Shestakov <av6@dwimlabs.net>
parents:
6497
diff
changeset
|
260 topic namespaces affected: dave |
7ecb0f9cc7f3
topic: report namespace changes in more cases of phase movements
Anton Shestakov <av6@dwimlabs.net>
parents:
6497
diff
changeset
|
261 added 0 changesets with 0 changes to 1 files |
6549
e45bfd1e0588
topic: don't write namespace into commit extras if there's no topic
Anton Shestakov <av6@dwimlabs.net>
parents:
6500
diff
changeset
|
262 active topic 'd' grew its first changeset |
e45bfd1e0588
topic: don't write namespace into commit extras if there's no topic
Anton Shestakov <av6@dwimlabs.net>
parents:
6500
diff
changeset
|
263 (see 'hg help topics' for more information) |
6498
7ecb0f9cc7f3
topic: report namespace changes in more cases of phase movements
Anton Shestakov <av6@dwimlabs.net>
parents:
6497
diff
changeset
|
264 |
7ecb0f9cc7f3
topic: report namespace changes in more cases of phase movements
Anton Shestakov <av6@dwimlabs.net>
parents:
6497
diff
changeset
|
265 $ cd .. |
7ecb0f9cc7f3
topic: report namespace changes in more cases of phase movements
Anton Shestakov <av6@dwimlabs.net>
parents:
6497
diff
changeset
|
266 |
6499
b165d2bb5868
topic: add better title to tns report tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
6498
diff
changeset
|
267 case: 99 pushing obsmarker for an unknown changeset |
b165d2bb5868
topic: add better title to tns report tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
6498
diff
changeset
|
268 =================================================== |
6496
fba501baf5cb
topic: find and report topic namespace changes in transactions
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
269 doesn't affect any topic namespace, we report nothing |
fba501baf5cb
topic: find and report topic namespace changes in transactions
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
270 |
fba501baf5cb
topic: find and report topic namespace changes in transactions
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
271 $ hg clone orig case-99 -q |
fba501baf5cb
topic: find and report topic namespace changes in transactions
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
272 $ cd orig |
fba501baf5cb
topic: find and report topic namespace changes in transactions
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
273 |
fba501baf5cb
topic: find and report topic namespace changes in transactions
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
274 $ hg debugobsolete aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa `getid "desc('dragonfruit')"` |
fba501baf5cb
topic: find and report topic namespace changes in transactions
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
275 1 new obsolescence markers |
fba501baf5cb
topic: find and report topic namespace changes in transactions
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
276 |
fba501baf5cb
topic: find and report topic namespace changes in transactions
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
277 $ hg push ../case-99 |
fba501baf5cb
topic: find and report topic namespace changes in transactions
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
278 pushing to ../case-99 |
fba501baf5cb
topic: find and report topic namespace changes in transactions
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
279 searching for changes |
fba501baf5cb
topic: find and report topic namespace changes in transactions
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
280 no changes found |
fba501baf5cb
topic: find and report topic namespace changes in transactions
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
281 1 new obsolescence markers |
fba501baf5cb
topic: find and report topic namespace changes in transactions
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
282 [1] |
fba501baf5cb
topic: find and report topic namespace changes in transactions
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
283 |
fba501baf5cb
topic: find and report topic namespace changes in transactions
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
284 $ cd .. |