Mercurial > evolve
annotate tests/test-topic-flow-publish-flag.t @ 6911:e14ae43aed88 mercurial-5.9
test-compat: merge mercurial-6.0 into mercurial-5.9
author | Anton Shestakov <av6@dwimlabs.net> |
---|---|
date | Fri, 25 Oct 2024 16:09:37 +0400 |
parents | f46913e52954 |
children |
rev | line source |
---|---|
3159
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
1 ===================== |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
2 Test workflow options |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
3 ===================== |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
4 |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
5 $ . "$TESTDIR/testlib/topic_setup.sh" |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
6 $ . "$TESTDIR/testlib/common.sh" |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
7 |
6036
86c1d92d433f
tests: add a log alias to test-topic-flow-publish-flag.t
Anton Shestakov <av6@dwimlabs.net>
parents:
5682
diff
changeset
|
8 $ cat << EOF >> "$HGRCPATH" |
86c1d92d433f
tests: add a log alias to test-topic-flow-publish-flag.t
Anton Shestakov <av6@dwimlabs.net>
parents:
5682
diff
changeset
|
9 > [alias] |
86c1d92d433f
tests: add a log alias to test-topic-flow-publish-flag.t
Anton Shestakov <av6@dwimlabs.net>
parents:
5682
diff
changeset
|
10 > tgl = log --rev 'sort(\$1, "topo")' -GT '{rev}:{node|short} {desc} {phase} {branch} {topics}' |
86c1d92d433f
tests: add a log alias to test-topic-flow-publish-flag.t
Anton Shestakov <av6@dwimlabs.net>
parents:
5682
diff
changeset
|
11 > EOF |
86c1d92d433f
tests: add a log alias to test-topic-flow-publish-flag.t
Anton Shestakov <av6@dwimlabs.net>
parents:
5682
diff
changeset
|
12 |
3159
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
13 testing hg push --publish flag |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
14 ============================== |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
15 |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
16 $ hg init bare-branch-server |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
17 $ cd bare-branch-server |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
18 $ cat <<EOF >> .hg/hgrc |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
19 > [phases] |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
20 > publish = no |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
21 > EOF |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
22 $ mkcommit ROOT |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
23 $ mkcommit c_dA0 |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
24 $ hg phase --public -r 'all()' |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
25 $ cd .. |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
26 |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
27 $ hg clone bare-branch-server bare-client |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
28 updating to branch default |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
29 2 files updated, 0 files merged, 0 files removed, 0 files unresolved |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
30 $ cd bare-client |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
31 |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
32 Pushing a 1 new changeset |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
33 ------------------------- |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
34 |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
35 $ mkcommit c_dB0 |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
36 $ hg push --publish |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
37 pushing to $TESTTMP/bare-branch-server |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
38 searching for changes |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
39 adding changesets |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
40 adding manifests |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
41 adding file changes |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
42 added 1 changesets with 1 changes to 1 files |
6036
86c1d92d433f
tests: add a log alias to test-topic-flow-publish-flag.t
Anton Shestakov <av6@dwimlabs.net>
parents:
5682
diff
changeset
|
43 $ hg tgl 'all()' |
3159
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
44 @ 2:286d02a6e2a2 c_dB0 public default |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
45 | |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
46 o 1:134bc3852ad2 c_dA0 public default |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
47 | |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
48 o 0:ea207398892e ROOT public default |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
49 |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
50 |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
51 Pushing a 2 new changeset (same branch) |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
52 --------------------------------------- |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
53 |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
54 $ mkcommit c_dC0 |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
55 $ mkcommit c_dD0 |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
56 $ hg push --publish |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
57 pushing to $TESTTMP/bare-branch-server |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
58 searching for changes |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
59 adding changesets |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
60 adding manifests |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
61 adding file changes |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
62 added 2 changesets with 2 changes to 2 files |
6036
86c1d92d433f
tests: add a log alias to test-topic-flow-publish-flag.t
Anton Shestakov <av6@dwimlabs.net>
parents:
5682
diff
changeset
|
63 $ hg tgl 'all()' |
3159
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
64 @ 4:c63e7dd93a91 c_dD0 public default |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
65 | |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
66 o 3:7d56a56d2547 c_dC0 public default |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
67 | |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
68 o 2:286d02a6e2a2 c_dB0 public default |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
69 | |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
70 o 1:134bc3852ad2 c_dA0 public default |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
71 | |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
72 o 0:ea207398892e ROOT public default |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
73 |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
74 |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
75 Pushing a 2 new changeset two head |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
76 ---------------------------------- |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
77 |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
78 $ mkcommit c_dE0 |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
79 $ hg update 'desc("c_dD0")' |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
80 0 files updated, 0 files merged, 1 files removed, 0 files unresolved |
6323
80b996fbb9da
tests: switch to double//slash branch in test-topic-flow-publish-flag.t
Anton Shestakov <av6@dwimlabs.net>
parents:
6036
diff
changeset
|
81 $ hg branch double//slash |
80b996fbb9da
tests: switch to double//slash branch in test-topic-flow-publish-flag.t
Anton Shestakov <av6@dwimlabs.net>
parents:
6036
diff
changeset
|
82 marked working directory as branch double//slash |
3159
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
83 (branches are permanent and global, did you want a bookmark?) |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
84 $ mkcommit c_oF0 |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
85 $ hg push -f --publish |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
86 pushing to $TESTTMP/bare-branch-server |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
87 searching for changes |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
88 adding changesets |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
89 adding manifests |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
90 adding file changes |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
91 added 2 changesets with 2 changes to 2 files (+1 heads) |
6036
86c1d92d433f
tests: add a log alias to test-topic-flow-publish-flag.t
Anton Shestakov <av6@dwimlabs.net>
parents:
5682
diff
changeset
|
92 $ hg tgl 'all()' |
6323
80b996fbb9da
tests: switch to double//slash branch in test-topic-flow-publish-flag.t
Anton Shestakov <av6@dwimlabs.net>
parents:
6036
diff
changeset
|
93 @ 6:eb49b8849195 c_oF0 public double//slash |
3159
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
94 | |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
95 | o 5:5576ae39eaee c_dE0 public default |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
96 |/ |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
97 o 4:c63e7dd93a91 c_dD0 public default |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
98 | |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
99 o 3:7d56a56d2547 c_dC0 public default |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
100 | |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
101 o 2:286d02a6e2a2 c_dB0 public default |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
102 | |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
103 o 1:134bc3852ad2 c_dA0 public default |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
104 | |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
105 o 0:ea207398892e ROOT public default |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
106 |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
107 |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
108 Publishing 1 common changeset |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
109 ----------------------------- |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
110 $ mkcommit c_oG0 |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
111 $ hg push |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
112 pushing to $TESTTMP/bare-branch-server |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
113 searching for changes |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
114 adding changesets |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
115 adding manifests |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
116 adding file changes |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
117 added 1 changesets with 1 changes to 1 files |
6036
86c1d92d433f
tests: add a log alias to test-topic-flow-publish-flag.t
Anton Shestakov <av6@dwimlabs.net>
parents:
5682
diff
changeset
|
118 $ hg tgl 'all()' |
6323
80b996fbb9da
tests: switch to double//slash branch in test-topic-flow-publish-flag.t
Anton Shestakov <av6@dwimlabs.net>
parents:
6036
diff
changeset
|
119 @ 7:c0155e8ec55a c_oG0 draft double//slash |
3159
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
120 | |
6323
80b996fbb9da
tests: switch to double//slash branch in test-topic-flow-publish-flag.t
Anton Shestakov <av6@dwimlabs.net>
parents:
6036
diff
changeset
|
121 o 6:eb49b8849195 c_oF0 public double//slash |
3159
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
122 | |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
123 | o 5:5576ae39eaee c_dE0 public default |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
124 |/ |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
125 o 4:c63e7dd93a91 c_dD0 public default |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
126 | |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
127 o 3:7d56a56d2547 c_dC0 public default |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
128 | |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
129 o 2:286d02a6e2a2 c_dB0 public default |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
130 | |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
131 o 1:134bc3852ad2 c_dA0 public default |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
132 | |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
133 o 0:ea207398892e ROOT public default |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
134 |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
135 $ hg push --publish |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
136 pushing to $TESTTMP/bare-branch-server |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
137 searching for changes |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
138 no changes found |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
139 [1] |
6036
86c1d92d433f
tests: add a log alias to test-topic-flow-publish-flag.t
Anton Shestakov <av6@dwimlabs.net>
parents:
5682
diff
changeset
|
140 $ hg tgl 'all()' |
6323
80b996fbb9da
tests: switch to double//slash branch in test-topic-flow-publish-flag.t
Anton Shestakov <av6@dwimlabs.net>
parents:
6036
diff
changeset
|
141 @ 7:c0155e8ec55a c_oG0 public double//slash |
3159
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
142 | |
6323
80b996fbb9da
tests: switch to double//slash branch in test-topic-flow-publish-flag.t
Anton Shestakov <av6@dwimlabs.net>
parents:
6036
diff
changeset
|
143 o 6:eb49b8849195 c_oF0 public double//slash |
3159
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
144 | |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
145 | o 5:5576ae39eaee c_dE0 public default |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
146 |/ |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
147 o 4:c63e7dd93a91 c_dD0 public default |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
148 | |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
149 o 3:7d56a56d2547 c_dC0 public default |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
150 | |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
151 o 2:286d02a6e2a2 c_dB0 public default |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
152 | |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
153 o 1:134bc3852ad2 c_dA0 public default |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
154 | |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
155 o 0:ea207398892e ROOT public default |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
156 |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
157 |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
158 Selectively publishing 1 changeset |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
159 ---------------------------------- |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
160 |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
161 $ mkcommit c_oH0 |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
162 $ hg update default |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
163 1 files updated, 0 files merged, 3 files removed, 0 files unresolved |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
164 $ mkcommit c_dI0 |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
165 $ hg push -r default --publish |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
166 pushing to $TESTTMP/bare-branch-server |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
167 searching for changes |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
168 adding changesets |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
169 adding manifests |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
170 adding file changes |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
171 added 1 changesets with 1 changes to 1 files |
6036
86c1d92d433f
tests: add a log alias to test-topic-flow-publish-flag.t
Anton Shestakov <av6@dwimlabs.net>
parents:
5682
diff
changeset
|
172 $ hg tgl 'all()' |
3159
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
173 @ 9:fbf2be276221 c_dI0 public default |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
174 | |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
175 o 5:5576ae39eaee c_dE0 public default |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
176 | |
6323
80b996fbb9da
tests: switch to double//slash branch in test-topic-flow-publish-flag.t
Anton Shestakov <av6@dwimlabs.net>
parents:
6036
diff
changeset
|
177 | o 8:256a2cb64fd8 c_oH0 draft double//slash |
3159
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
178 | | |
6323
80b996fbb9da
tests: switch to double//slash branch in test-topic-flow-publish-flag.t
Anton Shestakov <av6@dwimlabs.net>
parents:
6036
diff
changeset
|
179 | o 7:c0155e8ec55a c_oG0 public double//slash |
3159
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
180 | | |
6323
80b996fbb9da
tests: switch to double//slash branch in test-topic-flow-publish-flag.t
Anton Shestakov <av6@dwimlabs.net>
parents:
6036
diff
changeset
|
181 | o 6:eb49b8849195 c_oF0 public double//slash |
3159
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
182 |/ |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
183 o 4:c63e7dd93a91 c_dD0 public default |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
184 | |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
185 o 3:7d56a56d2547 c_dC0 public default |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
186 | |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
187 o 2:286d02a6e2a2 c_dB0 public default |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
188 | |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
189 o 1:134bc3852ad2 c_dA0 public default |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
190 | |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
191 o 0:ea207398892e ROOT public default |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
192 |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
193 |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
194 Selectively publishing 1 common changeset |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
195 ----------------------------------------- |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
196 |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
197 $ mkcommit c_dJ0 |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
198 $ hg push |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
199 pushing to $TESTTMP/bare-branch-server |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
200 searching for changes |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
201 adding changesets |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
202 adding manifests |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
203 adding file changes |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
204 added 2 changesets with 2 changes to 2 files |
6036
86c1d92d433f
tests: add a log alias to test-topic-flow-publish-flag.t
Anton Shestakov <av6@dwimlabs.net>
parents:
5682
diff
changeset
|
205 $ hg tgl 'all()' |
3159
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
206 @ 10:ac4cf59f2aac c_dJ0 draft default |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
207 | |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
208 o 9:fbf2be276221 c_dI0 public default |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
209 | |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
210 o 5:5576ae39eaee c_dE0 public default |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
211 | |
6323
80b996fbb9da
tests: switch to double//slash branch in test-topic-flow-publish-flag.t
Anton Shestakov <av6@dwimlabs.net>
parents:
6036
diff
changeset
|
212 | o 8:256a2cb64fd8 c_oH0 draft double//slash |
3159
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
213 | | |
6323
80b996fbb9da
tests: switch to double//slash branch in test-topic-flow-publish-flag.t
Anton Shestakov <av6@dwimlabs.net>
parents:
6036
diff
changeset
|
214 | o 7:c0155e8ec55a c_oG0 public double//slash |
3159
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
215 | | |
6323
80b996fbb9da
tests: switch to double//slash branch in test-topic-flow-publish-flag.t
Anton Shestakov <av6@dwimlabs.net>
parents:
6036
diff
changeset
|
216 | o 6:eb49b8849195 c_oF0 public double//slash |
3159
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
217 |/ |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
218 o 4:c63e7dd93a91 c_dD0 public default |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
219 | |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
220 o 3:7d56a56d2547 c_dC0 public default |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
221 | |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
222 o 2:286d02a6e2a2 c_dB0 public default |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
223 | |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
224 o 1:134bc3852ad2 c_dA0 public default |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
225 | |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
226 o 0:ea207398892e ROOT public default |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
227 |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
228 $ hg push --rev default --publish |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
229 pushing to $TESTTMP/bare-branch-server |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
230 searching for changes |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
231 no changes found |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
232 [1] |
6036
86c1d92d433f
tests: add a log alias to test-topic-flow-publish-flag.t
Anton Shestakov <av6@dwimlabs.net>
parents:
5682
diff
changeset
|
233 $ hg tgl 'all()' |
3159
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
234 @ 10:ac4cf59f2aac c_dJ0 public default |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
235 | |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
236 o 9:fbf2be276221 c_dI0 public default |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
237 | |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
238 o 5:5576ae39eaee c_dE0 public default |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
239 | |
6323
80b996fbb9da
tests: switch to double//slash branch in test-topic-flow-publish-flag.t
Anton Shestakov <av6@dwimlabs.net>
parents:
6036
diff
changeset
|
240 | o 8:256a2cb64fd8 c_oH0 draft double//slash |
3159
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
241 | | |
6323
80b996fbb9da
tests: switch to double//slash branch in test-topic-flow-publish-flag.t
Anton Shestakov <av6@dwimlabs.net>
parents:
6036
diff
changeset
|
242 | o 7:c0155e8ec55a c_oG0 public double//slash |
3159
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
243 | | |
6323
80b996fbb9da
tests: switch to double//slash branch in test-topic-flow-publish-flag.t
Anton Shestakov <av6@dwimlabs.net>
parents:
6036
diff
changeset
|
244 | o 6:eb49b8849195 c_oF0 public double//slash |
3159
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
245 |/ |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
246 o 4:c63e7dd93a91 c_dD0 public default |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
247 | |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
248 o 3:7d56a56d2547 c_dC0 public default |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
249 | |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
250 o 2:286d02a6e2a2 c_dB0 public default |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
251 | |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
252 o 1:134bc3852ad2 c_dA0 public default |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
253 | |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
254 o 0:ea207398892e ROOT public default |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
255 |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
256 |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
257 Selectively publishing no changeset |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
258 ----------------------------------- |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
259 |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
260 $ hg push --rev default --publish |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
261 pushing to $TESTTMP/bare-branch-server |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
262 searching for changes |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
263 no changes found |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
264 [1] |
6036
86c1d92d433f
tests: add a log alias to test-topic-flow-publish-flag.t
Anton Shestakov <av6@dwimlabs.net>
parents:
5682
diff
changeset
|
265 $ hg tgl 'all()' |
3159
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
266 @ 10:ac4cf59f2aac c_dJ0 public default |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
267 | |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
268 o 9:fbf2be276221 c_dI0 public default |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
269 | |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
270 o 5:5576ae39eaee c_dE0 public default |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
271 | |
6323
80b996fbb9da
tests: switch to double//slash branch in test-topic-flow-publish-flag.t
Anton Shestakov <av6@dwimlabs.net>
parents:
6036
diff
changeset
|
272 | o 8:256a2cb64fd8 c_oH0 draft double//slash |
3159
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
273 | | |
6323
80b996fbb9da
tests: switch to double//slash branch in test-topic-flow-publish-flag.t
Anton Shestakov <av6@dwimlabs.net>
parents:
6036
diff
changeset
|
274 | o 7:c0155e8ec55a c_oG0 public double//slash |
3159
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
275 | | |
6323
80b996fbb9da
tests: switch to double//slash branch in test-topic-flow-publish-flag.t
Anton Shestakov <av6@dwimlabs.net>
parents:
6036
diff
changeset
|
276 | o 6:eb49b8849195 c_oF0 public double//slash |
3159
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
277 |/ |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
278 o 4:c63e7dd93a91 c_dD0 public default |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
279 | |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
280 o 3:7d56a56d2547 c_dC0 public default |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
281 | |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
282 o 2:286d02a6e2a2 c_dB0 public default |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
283 | |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
284 o 1:134bc3852ad2 c_dA0 public default |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
285 | |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
286 o 0:ea207398892e ROOT public default |
90515d0bfb08
push: add a --publish flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
287 |
3182
bc09dd507c41
topic: fix new head detection when using --publish on a topic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3159
diff
changeset
|
288 |
bc09dd507c41
topic: fix new head detection when using --publish on a topic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3159
diff
changeset
|
289 Testing --publish interaction with multiple head detection |
bc09dd507c41
topic: fix new head detection when using --publish on a topic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3159
diff
changeset
|
290 ============================================================ |
bc09dd507c41
topic: fix new head detection when using --publish on a topic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3159
diff
changeset
|
291 |
bc09dd507c41
topic: fix new head detection when using --publish on a topic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3159
diff
changeset
|
292 pushing a topic changeset, publishing it |
bc09dd507c41
topic: fix new head detection when using --publish on a topic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3159
diff
changeset
|
293 ---------------------------------------- |
bc09dd507c41
topic: fix new head detection when using --publish on a topic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3159
diff
changeset
|
294 |
bc09dd507c41
topic: fix new head detection when using --publish on a topic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3159
diff
changeset
|
295 $ hg topic topic_A |
bc09dd507c41
topic: fix new head detection when using --publish on a topic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3159
diff
changeset
|
296 marked working directory as topic: topic_A |
bc09dd507c41
topic: fix new head detection when using --publish on a topic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3159
diff
changeset
|
297 $ mkcommit c_dK0 |
bc09dd507c41
topic: fix new head detection when using --publish on a topic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3159
diff
changeset
|
298 active topic 'topic_A' grew its first changeset |
3769
1bc4b0807c37
topic: display a hint pointing at help when a topic becomes non-empty
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
3182
diff
changeset
|
299 (see 'hg help topics' for more information) |
3182
bc09dd507c41
topic: fix new head detection when using --publish on a topic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3159
diff
changeset
|
300 $ hg push -r 'desc("c_dK0")' --publish |
bc09dd507c41
topic: fix new head detection when using --publish on a topic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3159
diff
changeset
|
301 pushing to $TESTTMP/bare-branch-server |
bc09dd507c41
topic: fix new head detection when using --publish on a topic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3159
diff
changeset
|
302 searching for changes |
bc09dd507c41
topic: fix new head detection when using --publish on a topic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3159
diff
changeset
|
303 adding changesets |
bc09dd507c41
topic: fix new head detection when using --publish on a topic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3159
diff
changeset
|
304 adding manifests |
bc09dd507c41
topic: fix new head detection when using --publish on a topic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3159
diff
changeset
|
305 adding file changes |
bc09dd507c41
topic: fix new head detection when using --publish on a topic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3159
diff
changeset
|
306 added 1 changesets with 1 changes to 1 files |
bc09dd507c41
topic: fix new head detection when using --publish on a topic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3159
diff
changeset
|
307 active topic 'topic_A' is now empty |
3770
eb928f5728c4
topic: suggest to clear a topic that becomes empty
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
3769
diff
changeset
|
308 (use 'hg topic --clear' to clear it if needed) |
6036
86c1d92d433f
tests: add a log alias to test-topic-flow-publish-flag.t
Anton Shestakov <av6@dwimlabs.net>
parents:
5682
diff
changeset
|
309 $ hg tgl 'all()' |
3182
bc09dd507c41
topic: fix new head detection when using --publish on a topic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3159
diff
changeset
|
310 @ 11:d06fc4f891e8 c_dK0 public default |
bc09dd507c41
topic: fix new head detection when using --publish on a topic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3159
diff
changeset
|
311 | |
bc09dd507c41
topic: fix new head detection when using --publish on a topic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3159
diff
changeset
|
312 o 10:ac4cf59f2aac c_dJ0 public default |
bc09dd507c41
topic: fix new head detection when using --publish on a topic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3159
diff
changeset
|
313 | |
bc09dd507c41
topic: fix new head detection when using --publish on a topic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3159
diff
changeset
|
314 o 9:fbf2be276221 c_dI0 public default |
bc09dd507c41
topic: fix new head detection when using --publish on a topic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3159
diff
changeset
|
315 | |
bc09dd507c41
topic: fix new head detection when using --publish on a topic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3159
diff
changeset
|
316 o 5:5576ae39eaee c_dE0 public default |
bc09dd507c41
topic: fix new head detection when using --publish on a topic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3159
diff
changeset
|
317 | |
6323
80b996fbb9da
tests: switch to double//slash branch in test-topic-flow-publish-flag.t
Anton Shestakov <av6@dwimlabs.net>
parents:
6036
diff
changeset
|
318 | o 8:256a2cb64fd8 c_oH0 draft double//slash |
3182
bc09dd507c41
topic: fix new head detection when using --publish on a topic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3159
diff
changeset
|
319 | | |
6323
80b996fbb9da
tests: switch to double//slash branch in test-topic-flow-publish-flag.t
Anton Shestakov <av6@dwimlabs.net>
parents:
6036
diff
changeset
|
320 | o 7:c0155e8ec55a c_oG0 public double//slash |
3182
bc09dd507c41
topic: fix new head detection when using --publish on a topic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3159
diff
changeset
|
321 | | |
6323
80b996fbb9da
tests: switch to double//slash branch in test-topic-flow-publish-flag.t
Anton Shestakov <av6@dwimlabs.net>
parents:
6036
diff
changeset
|
322 | o 6:eb49b8849195 c_oF0 public double//slash |
3182
bc09dd507c41
topic: fix new head detection when using --publish on a topic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3159
diff
changeset
|
323 |/ |
bc09dd507c41
topic: fix new head detection when using --publish on a topic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3159
diff
changeset
|
324 o 4:c63e7dd93a91 c_dD0 public default |
bc09dd507c41
topic: fix new head detection when using --publish on a topic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3159
diff
changeset
|
325 | |
bc09dd507c41
topic: fix new head detection when using --publish on a topic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3159
diff
changeset
|
326 o 3:7d56a56d2547 c_dC0 public default |
bc09dd507c41
topic: fix new head detection when using --publish on a topic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3159
diff
changeset
|
327 | |
bc09dd507c41
topic: fix new head detection when using --publish on a topic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3159
diff
changeset
|
328 o 2:286d02a6e2a2 c_dB0 public default |
bc09dd507c41
topic: fix new head detection when using --publish on a topic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3159
diff
changeset
|
329 | |
bc09dd507c41
topic: fix new head detection when using --publish on a topic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3159
diff
changeset
|
330 o 1:134bc3852ad2 c_dA0 public default |
bc09dd507c41
topic: fix new head detection when using --publish on a topic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3159
diff
changeset
|
331 | |
bc09dd507c41
topic: fix new head detection when using --publish on a topic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3159
diff
changeset
|
332 o 0:ea207398892e ROOT public default |
bc09dd507c41
topic: fix new head detection when using --publish on a topic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3159
diff
changeset
|
333 |
bc09dd507c41
topic: fix new head detection when using --publish on a topic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3159
diff
changeset
|
334 |
bc09dd507c41
topic: fix new head detection when using --publish on a topic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3159
diff
changeset
|
335 pushing a new branch, alongside an existing topic |
bc09dd507c41
topic: fix new head detection when using --publish on a topic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3159
diff
changeset
|
336 ------------------------------------------------- |
bc09dd507c41
topic: fix new head detection when using --publish on a topic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3159
diff
changeset
|
337 |
bc09dd507c41
topic: fix new head detection when using --publish on a topic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3159
diff
changeset
|
338 $ hg topic topic_A |
bc09dd507c41
topic: fix new head detection when using --publish on a topic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3159
diff
changeset
|
339 $ mkcommit c_dL0 |
bc09dd507c41
topic: fix new head detection when using --publish on a topic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3159
diff
changeset
|
340 active topic 'topic_A' grew its first changeset |
3769
1bc4b0807c37
topic: display a hint pointing at help when a topic becomes non-empty
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
3182
diff
changeset
|
341 (see 'hg help topics' for more information) |
3182
bc09dd507c41
topic: fix new head detection when using --publish on a topic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3159
diff
changeset
|
342 $ hg push -r 'desc("c_dL0")' |
bc09dd507c41
topic: fix new head detection when using --publish on a topic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3159
diff
changeset
|
343 pushing to $TESTTMP/bare-branch-server |
bc09dd507c41
topic: fix new head detection when using --publish on a topic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3159
diff
changeset
|
344 searching for changes |
bc09dd507c41
topic: fix new head detection when using --publish on a topic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3159
diff
changeset
|
345 adding changesets |
bc09dd507c41
topic: fix new head detection when using --publish on a topic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3159
diff
changeset
|
346 adding manifests |
bc09dd507c41
topic: fix new head detection when using --publish on a topic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3159
diff
changeset
|
347 adding file changes |
bc09dd507c41
topic: fix new head detection when using --publish on a topic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3159
diff
changeset
|
348 added 1 changesets with 1 changes to 1 files |
bc09dd507c41
topic: fix new head detection when using --publish on a topic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3159
diff
changeset
|
349 $ hg update 'desc("c_dK")' |
bc09dd507c41
topic: fix new head detection when using --publish on a topic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3159
diff
changeset
|
350 0 files updated, 0 files merged, 1 files removed, 0 files unresolved |
bc09dd507c41
topic: fix new head detection when using --publish on a topic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3159
diff
changeset
|
351 $ mkcommit c_dM0 |
bc09dd507c41
topic: fix new head detection when using --publish on a topic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3159
diff
changeset
|
352 $ hg push -r 'desc("c_dM0")' --publish |
bc09dd507c41
topic: fix new head detection when using --publish on a topic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3159
diff
changeset
|
353 pushing to $TESTTMP/bare-branch-server |
bc09dd507c41
topic: fix new head detection when using --publish on a topic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3159
diff
changeset
|
354 searching for changes |
bc09dd507c41
topic: fix new head detection when using --publish on a topic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3159
diff
changeset
|
355 adding changesets |
bc09dd507c41
topic: fix new head detection when using --publish on a topic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3159
diff
changeset
|
356 adding manifests |
bc09dd507c41
topic: fix new head detection when using --publish on a topic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3159
diff
changeset
|
357 adding file changes |
bc09dd507c41
topic: fix new head detection when using --publish on a topic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3159
diff
changeset
|
358 added 1 changesets with 1 changes to 1 files (+1 heads) |
6036
86c1d92d433f
tests: add a log alias to test-topic-flow-publish-flag.t
Anton Shestakov <av6@dwimlabs.net>
parents:
5682
diff
changeset
|
359 $ hg tgl 'all()' |
3182
bc09dd507c41
topic: fix new head detection when using --publish on a topic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3159
diff
changeset
|
360 @ 13:0d144c8b6c8f c_dM0 public default |
bc09dd507c41
topic: fix new head detection when using --publish on a topic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3159
diff
changeset
|
361 | |
bc09dd507c41
topic: fix new head detection when using --publish on a topic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3159
diff
changeset
|
362 | o 12:3c73f6cabf07 c_dL0 draft default topic_A |
bc09dd507c41
topic: fix new head detection when using --publish on a topic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3159
diff
changeset
|
363 |/ |
bc09dd507c41
topic: fix new head detection when using --publish on a topic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3159
diff
changeset
|
364 o 11:d06fc4f891e8 c_dK0 public default |
bc09dd507c41
topic: fix new head detection when using --publish on a topic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3159
diff
changeset
|
365 | |
bc09dd507c41
topic: fix new head detection when using --publish on a topic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3159
diff
changeset
|
366 o 10:ac4cf59f2aac c_dJ0 public default |
bc09dd507c41
topic: fix new head detection when using --publish on a topic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3159
diff
changeset
|
367 | |
bc09dd507c41
topic: fix new head detection when using --publish on a topic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3159
diff
changeset
|
368 o 9:fbf2be276221 c_dI0 public default |
bc09dd507c41
topic: fix new head detection when using --publish on a topic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3159
diff
changeset
|
369 | |
bc09dd507c41
topic: fix new head detection when using --publish on a topic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3159
diff
changeset
|
370 o 5:5576ae39eaee c_dE0 public default |
bc09dd507c41
topic: fix new head detection when using --publish on a topic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3159
diff
changeset
|
371 | |
6323
80b996fbb9da
tests: switch to double//slash branch in test-topic-flow-publish-flag.t
Anton Shestakov <av6@dwimlabs.net>
parents:
6036
diff
changeset
|
372 | o 8:256a2cb64fd8 c_oH0 draft double//slash |
3182
bc09dd507c41
topic: fix new head detection when using --publish on a topic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3159
diff
changeset
|
373 | | |
6323
80b996fbb9da
tests: switch to double//slash branch in test-topic-flow-publish-flag.t
Anton Shestakov <av6@dwimlabs.net>
parents:
6036
diff
changeset
|
374 | o 7:c0155e8ec55a c_oG0 public double//slash |
3182
bc09dd507c41
topic: fix new head detection when using --publish on a topic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3159
diff
changeset
|
375 | | |
6323
80b996fbb9da
tests: switch to double//slash branch in test-topic-flow-publish-flag.t
Anton Shestakov <av6@dwimlabs.net>
parents:
6036
diff
changeset
|
376 | o 6:eb49b8849195 c_oF0 public double//slash |
3182
bc09dd507c41
topic: fix new head detection when using --publish on a topic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3159
diff
changeset
|
377 |/ |
bc09dd507c41
topic: fix new head detection when using --publish on a topic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3159
diff
changeset
|
378 o 4:c63e7dd93a91 c_dD0 public default |
bc09dd507c41
topic: fix new head detection when using --publish on a topic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3159
diff
changeset
|
379 | |
bc09dd507c41
topic: fix new head detection when using --publish on a topic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3159
diff
changeset
|
380 o 3:7d56a56d2547 c_dC0 public default |
bc09dd507c41
topic: fix new head detection when using --publish on a topic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3159
diff
changeset
|
381 | |
bc09dd507c41
topic: fix new head detection when using --publish on a topic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3159
diff
changeset
|
382 o 2:286d02a6e2a2 c_dB0 public default |
bc09dd507c41
topic: fix new head detection when using --publish on a topic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3159
diff
changeset
|
383 | |
bc09dd507c41
topic: fix new head detection when using --publish on a topic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3159
diff
changeset
|
384 o 1:134bc3852ad2 c_dA0 public default |
bc09dd507c41
topic: fix new head detection when using --publish on a topic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3159
diff
changeset
|
385 | |
bc09dd507c41
topic: fix new head detection when using --publish on a topic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3159
diff
changeset
|
386 o 0:ea207398892e ROOT public default |
bc09dd507c41
topic: fix new head detection when using --publish on a topic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3159
diff
changeset
|
387 |
bc09dd507c41
topic: fix new head detection when using --publish on a topic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3159
diff
changeset
|
388 |
bc09dd507c41
topic: fix new head detection when using --publish on a topic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3159
diff
changeset
|
389 pushing a topic (publishing) alongside and existing branch head |
bc09dd507c41
topic: fix new head detection when using --publish on a topic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3159
diff
changeset
|
390 --------------------------------------------------------------- |
bc09dd507c41
topic: fix new head detection when using --publish on a topic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3159
diff
changeset
|
391 |
bc09dd507c41
topic: fix new head detection when using --publish on a topic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3159
diff
changeset
|
392 $ hg update 'desc("c_dK")' |
bc09dd507c41
topic: fix new head detection when using --publish on a topic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3159
diff
changeset
|
393 0 files updated, 0 files merged, 1 files removed, 0 files unresolved |
bc09dd507c41
topic: fix new head detection when using --publish on a topic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3159
diff
changeset
|
394 $ hg topic topic_B |
bc09dd507c41
topic: fix new head detection when using --publish on a topic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3159
diff
changeset
|
395 marked working directory as topic: topic_B |
bc09dd507c41
topic: fix new head detection when using --publish on a topic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3159
diff
changeset
|
396 $ mkcommit c_dN0 |
bc09dd507c41
topic: fix new head detection when using --publish on a topic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3159
diff
changeset
|
397 active topic 'topic_B' grew its first changeset |
3769
1bc4b0807c37
topic: display a hint pointing at help when a topic becomes non-empty
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
3182
diff
changeset
|
398 (see 'hg help topics' for more information) |
3182
bc09dd507c41
topic: fix new head detection when using --publish on a topic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3159
diff
changeset
|
399 $ hg push -r 'desc("c_dN0")' --publish |
bc09dd507c41
topic: fix new head detection when using --publish on a topic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3159
diff
changeset
|
400 pushing to $TESTTMP/bare-branch-server |
bc09dd507c41
topic: fix new head detection when using --publish on a topic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3159
diff
changeset
|
401 searching for changes |
5672
12c53d7122a7
tests: remove trailing "!" from abort messages
Anton Shestakov <av6@dwimlabs.net>
parents:
3770
diff
changeset
|
402 abort: push creates new remote head 4dcd0be9db96 |
3182
bc09dd507c41
topic: fix new head detection when using --publish on a topic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3159
diff
changeset
|
403 (merge or see 'hg help push' for details about pushing new heads) |
5682
f0d46ffbf1bb
tests: update exit code in case of push failing because it'd create new heads
Anton Shestakov <av6@dwimlabs.net>
parents:
5672
diff
changeset
|
404 [20] |
6036
86c1d92d433f
tests: add a log alias to test-topic-flow-publish-flag.t
Anton Shestakov <av6@dwimlabs.net>
parents:
5682
diff
changeset
|
405 $ hg tgl 'all()' |
3182
bc09dd507c41
topic: fix new head detection when using --publish on a topic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3159
diff
changeset
|
406 @ 14:4dcd0be9db96 c_dN0 draft default topic_B |
bc09dd507c41
topic: fix new head detection when using --publish on a topic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3159
diff
changeset
|
407 | |
bc09dd507c41
topic: fix new head detection when using --publish on a topic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3159
diff
changeset
|
408 | o 13:0d144c8b6c8f c_dM0 public default |
bc09dd507c41
topic: fix new head detection when using --publish on a topic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3159
diff
changeset
|
409 |/ |
bc09dd507c41
topic: fix new head detection when using --publish on a topic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3159
diff
changeset
|
410 | o 12:3c73f6cabf07 c_dL0 draft default topic_A |
bc09dd507c41
topic: fix new head detection when using --publish on a topic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3159
diff
changeset
|
411 |/ |
bc09dd507c41
topic: fix new head detection when using --publish on a topic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3159
diff
changeset
|
412 o 11:d06fc4f891e8 c_dK0 public default |
bc09dd507c41
topic: fix new head detection when using --publish on a topic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3159
diff
changeset
|
413 | |
bc09dd507c41
topic: fix new head detection when using --publish on a topic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3159
diff
changeset
|
414 o 10:ac4cf59f2aac c_dJ0 public default |
bc09dd507c41
topic: fix new head detection when using --publish on a topic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3159
diff
changeset
|
415 | |
bc09dd507c41
topic: fix new head detection when using --publish on a topic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3159
diff
changeset
|
416 o 9:fbf2be276221 c_dI0 public default |
bc09dd507c41
topic: fix new head detection when using --publish on a topic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3159
diff
changeset
|
417 | |
bc09dd507c41
topic: fix new head detection when using --publish on a topic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3159
diff
changeset
|
418 o 5:5576ae39eaee c_dE0 public default |
bc09dd507c41
topic: fix new head detection when using --publish on a topic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3159
diff
changeset
|
419 | |
6323
80b996fbb9da
tests: switch to double//slash branch in test-topic-flow-publish-flag.t
Anton Shestakov <av6@dwimlabs.net>
parents:
6036
diff
changeset
|
420 | o 8:256a2cb64fd8 c_oH0 draft double//slash |
3182
bc09dd507c41
topic: fix new head detection when using --publish on a topic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3159
diff
changeset
|
421 | | |
6323
80b996fbb9da
tests: switch to double//slash branch in test-topic-flow-publish-flag.t
Anton Shestakov <av6@dwimlabs.net>
parents:
6036
diff
changeset
|
422 | o 7:c0155e8ec55a c_oG0 public double//slash |
3182
bc09dd507c41
topic: fix new head detection when using --publish on a topic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3159
diff
changeset
|
423 | | |
6323
80b996fbb9da
tests: switch to double//slash branch in test-topic-flow-publish-flag.t
Anton Shestakov <av6@dwimlabs.net>
parents:
6036
diff
changeset
|
424 | o 6:eb49b8849195 c_oF0 public double//slash |
3182
bc09dd507c41
topic: fix new head detection when using --publish on a topic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3159
diff
changeset
|
425 |/ |
bc09dd507c41
topic: fix new head detection when using --publish on a topic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3159
diff
changeset
|
426 o 4:c63e7dd93a91 c_dD0 public default |
bc09dd507c41
topic: fix new head detection when using --publish on a topic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3159
diff
changeset
|
427 | |
bc09dd507c41
topic: fix new head detection when using --publish on a topic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3159
diff
changeset
|
428 o 3:7d56a56d2547 c_dC0 public default |
bc09dd507c41
topic: fix new head detection when using --publish on a topic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3159
diff
changeset
|
429 | |
bc09dd507c41
topic: fix new head detection when using --publish on a topic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3159
diff
changeset
|
430 o 2:286d02a6e2a2 c_dB0 public default |
bc09dd507c41
topic: fix new head detection when using --publish on a topic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3159
diff
changeset
|
431 | |
bc09dd507c41
topic: fix new head detection when using --publish on a topic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3159
diff
changeset
|
432 o 1:134bc3852ad2 c_dA0 public default |
bc09dd507c41
topic: fix new head detection when using --publish on a topic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3159
diff
changeset
|
433 | |
bc09dd507c41
topic: fix new head detection when using --publish on a topic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3159
diff
changeset
|
434 o 0:ea207398892e ROOT public default |
bc09dd507c41
topic: fix new head detection when using --publish on a topic
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3159
diff
changeset
|
435 |
6328
bf8b9d6a14af
tests: inspect branchcache files in test-topic-flow-publish-flag.t
Anton Shestakov <av6@dwimlabs.net>
parents:
6323
diff
changeset
|
436 |
bf8b9d6a14af
tests: inspect branchcache files in test-topic-flow-publish-flag.t
Anton Shestakov <av6@dwimlabs.net>
parents:
6323
diff
changeset
|
437 checking branch format in branchcache on disk |
bf8b9d6a14af
tests: inspect branchcache files in test-topic-flow-publish-flag.t
Anton Shestakov <av6@dwimlabs.net>
parents:
6323
diff
changeset
|
438 --------------------------------------------- |
bf8b9d6a14af
tests: inspect branchcache files in test-topic-flow-publish-flag.t
Anton Shestakov <av6@dwimlabs.net>
parents:
6323
diff
changeset
|
439 |
bf8b9d6a14af
tests: inspect branchcache files in test-topic-flow-publish-flag.t
Anton Shestakov <av6@dwimlabs.net>
parents:
6323
diff
changeset
|
440 $ cd $TESTTMP/bare-client/.hg/cache/ |
bf8b9d6a14af
tests: inspect branchcache files in test-topic-flow-publish-flag.t
Anton Shestakov <av6@dwimlabs.net>
parents:
6323
diff
changeset
|
441 $ grep double branch2* | sort |
bf8b9d6a14af
tests: inspect branchcache files in test-topic-flow-publish-flag.t
Anton Shestakov <av6@dwimlabs.net>
parents:
6323
diff
changeset
|
442 branch2-immutable:* o double//slash (glob) |
bf8b9d6a14af
tests: inspect branchcache files in test-topic-flow-publish-flag.t
Anton Shestakov <av6@dwimlabs.net>
parents:
6323
diff
changeset
|
443 |
bf8b9d6a14af
tests: inspect branchcache files in test-topic-flow-publish-flag.t
Anton Shestakov <av6@dwimlabs.net>
parents:
6323
diff
changeset
|
444 $ cd $TESTTMP/bare-branch-server/.hg/cache/ |
bf8b9d6a14af
tests: inspect branchcache files in test-topic-flow-publish-flag.t
Anton Shestakov <av6@dwimlabs.net>
parents:
6323
diff
changeset
|
445 $ grep double branch2* | sort |
bf8b9d6a14af
tests: inspect branchcache files in test-topic-flow-publish-flag.t
Anton Shestakov <av6@dwimlabs.net>
parents:
6323
diff
changeset
|
446 branch2-base:* o double//slash (glob) |
bf8b9d6a14af
tests: inspect branchcache files in test-topic-flow-publish-flag.t
Anton Shestakov <av6@dwimlabs.net>
parents:
6323
diff
changeset
|
447 branch2-immutable:* o double//slash (glob) |