Mercurial > hg
annotate tests/test-phases-exchange.t @ 25591:f1d46075b13a
verify: check the subrepository references in .hgsubstate
While hopefully atypical, there are reasons that a subrepository revision can be
lost that aren't covered by corruption of the .hgsubstate revlog. Such things
can happen when a subrepo is amended, stripped or simply isn't pulled from
upstream because the parent repo revision wasn't updated yet. There's no way to
know if it is an error, but this will find potential problems sooner than when
some random revision is updated.
Until recently, convert made no attempt at rewriting the .hgsubstate file. The
impetuous for this is to verify the conversion of some repositories, and this is
orders of magnitude faster than a bash script from 0..tip that does an
'hg update -C $rev'. But it is equally useful to determine if everything has
been pulled down before taking a thumb drive on the go.
It feels somewhat wrong to leave this out of verifymod (mostly because the file
is already read in there, and the final summary is printed before the subrepos
are checked). But verifymod looks very low level, so importing subrepo stuff
there seems more wrong.
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Tue, 16 Jun 2015 16:15:15 -0400 |
parents | 8c14f87bd0ae |
children | 12f727a5b434 |
rev | line source |
---|---|
22046
7a9cbb315d84
tests: replace exit 80 with #require
Matt Mackall <mpm@selenic.com>
parents:
21024
diff
changeset
|
1 #require killdaemons |
16539
249542ded278
tests: skip new tests with requirements not available on windows
Mads Kiilerich <mads@kiilerich.com>
parents:
16535
diff
changeset
|
2 |
25355
53071142c7d7
test: use bundle2 for exchange in test-push-warn
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23748
diff
changeset
|
3 $ cat << EOF >> $HGRCPATH |
53071142c7d7
test: use bundle2 for exchange in test-push-warn
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23748
diff
changeset
|
4 > [experimental] |
53071142c7d7
test: use bundle2 for exchange in test-push-warn
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23748
diff
changeset
|
5 > # drop me once bundle2 is the default, |
53071142c7d7
test: use bundle2 for exchange in test-push-warn
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23748
diff
changeset
|
6 > # added to get test change early. |
53071142c7d7
test: use bundle2 for exchange in test-push-warn
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23748
diff
changeset
|
7 > bundle2-exp = True |
53071142c7d7
test: use bundle2 for exchange in test-push-warn
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23748
diff
changeset
|
8 > EOF |
53071142c7d7
test: use bundle2 for exchange in test-push-warn
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23748
diff
changeset
|
9 |
16013
2a1d97630f7f
tests: don't use alias
Mads Kiilerich <mads@kiilerich.com>
parents:
15956
diff
changeset
|
10 $ hgph() { hg log -G --template "{rev} {phase} {desc} - {node|short}\n" $*; } |
15484
a44446ff9ad8
phases: marked content of a changegroup as published
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
11 |
a44446ff9ad8
phases: marked content of a changegroup as published
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
12 $ mkcommit() { |
a44446ff9ad8
phases: marked content of a changegroup as published
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
13 > echo "$1" > "$1" |
a44446ff9ad8
phases: marked content of a changegroup as published
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
14 > hg add "$1" |
15713
cff25e4b37d2
phases: do not exchange secret changesets
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15659
diff
changeset
|
15 > message="$1" |
cff25e4b37d2
phases: do not exchange secret changesets
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15659
diff
changeset
|
16 > shift |
cff25e4b37d2
phases: do not exchange secret changesets
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15659
diff
changeset
|
17 > hg ci -m "$message" $* |
15484
a44446ff9ad8
phases: marked content of a changegroup as published
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
18 > } |
a44446ff9ad8
phases: marked content of a changegroup as published
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
19 |
a44446ff9ad8
phases: marked content of a changegroup as published
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
20 $ hg init alpha |
a44446ff9ad8
phases: marked content of a changegroup as published
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
21 $ cd alpha |
a44446ff9ad8
phases: marked content of a changegroup as published
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
22 $ mkcommit a-A |
a44446ff9ad8
phases: marked content of a changegroup as published
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
23 $ mkcommit a-B |
a44446ff9ad8
phases: marked content of a changegroup as published
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
24 $ mkcommit a-C |
a44446ff9ad8
phases: marked content of a changegroup as published
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
25 $ mkcommit a-D |
a44446ff9ad8
phases: marked content of a changegroup as published
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
26 $ hgph |
15824
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
27 @ 3 draft a-D - b555f63b6063 |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
28 | |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
29 o 2 draft a-C - 54acac6f23ab |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
30 | |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
31 o 1 draft a-B - 548a3d25dbf0 |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
32 | |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
33 o 0 draft a-A - 054250a37db4 |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
34 |
15484
a44446ff9ad8
phases: marked content of a changegroup as published
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
35 |
a44446ff9ad8
phases: marked content of a changegroup as published
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
36 $ hg init ../beta |
a44446ff9ad8
phases: marked content of a changegroup as published
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
37 $ hg push -r 1 ../beta |
a44446ff9ad8
phases: marked content of a changegroup as published
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
38 pushing to ../beta |
a44446ff9ad8
phases: marked content of a changegroup as published
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
39 searching for changes |
a44446ff9ad8
phases: marked content of a changegroup as published
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
40 adding changesets |
a44446ff9ad8
phases: marked content of a changegroup as published
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
41 adding manifests |
a44446ff9ad8
phases: marked content of a changegroup as published
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
42 adding file changes |
a44446ff9ad8
phases: marked content of a changegroup as published
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
43 added 2 changesets with 2 changes to 2 files |
15485
fa47291b3f1f
phases: mark content pushed as public in local repo on push
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15484
diff
changeset
|
44 $ hgph |
15824
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
45 @ 3 draft a-D - b555f63b6063 |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
46 | |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
47 o 2 draft a-C - 54acac6f23ab |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
48 | |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
49 o 1 public a-B - 548a3d25dbf0 |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
50 | |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
51 o 0 public a-A - 054250a37db4 |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
52 |
15485
fa47291b3f1f
phases: mark content pushed as public in local repo on push
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15484
diff
changeset
|
53 |
15484
a44446ff9ad8
phases: marked content of a changegroup as published
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
54 $ cd ../beta |
a44446ff9ad8
phases: marked content of a changegroup as published
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
55 $ hgph |
15824
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
56 o 1 public a-B - 548a3d25dbf0 |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
57 | |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
58 o 0 public a-A - 054250a37db4 |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
59 |
15484
a44446ff9ad8
phases: marked content of a changegroup as published
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
60 $ hg up -q |
a44446ff9ad8
phases: marked content of a changegroup as published
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
61 $ mkcommit b-A |
a44446ff9ad8
phases: marked content of a changegroup as published
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
62 $ hgph |
15824
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
63 @ 2 draft b-A - f54f1bb90ff3 |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
64 | |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
65 o 1 public a-B - 548a3d25dbf0 |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
66 | |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
67 o 0 public a-A - 054250a37db4 |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
68 |
15484
a44446ff9ad8
phases: marked content of a changegroup as published
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
69 $ hg pull ../alpha |
a44446ff9ad8
phases: marked content of a changegroup as published
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
70 pulling from ../alpha |
a44446ff9ad8
phases: marked content of a changegroup as published
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
71 searching for changes |
a44446ff9ad8
phases: marked content of a changegroup as published
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
72 adding changesets |
a44446ff9ad8
phases: marked content of a changegroup as published
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
73 adding manifests |
a44446ff9ad8
phases: marked content of a changegroup as published
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
74 adding file changes |
a44446ff9ad8
phases: marked content of a changegroup as published
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
75 added 2 changesets with 2 changes to 2 files (+1 heads) |
a44446ff9ad8
phases: marked content of a changegroup as published
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
76 (run 'hg heads' to see heads, 'hg merge' to merge) |
a44446ff9ad8
phases: marked content of a changegroup as published
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
77 $ hgph |
15824
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
78 o 4 public a-D - b555f63b6063 |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
79 | |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
80 o 3 public a-C - 54acac6f23ab |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
81 | |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
82 | @ 2 draft b-A - f54f1bb90ff3 |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
83 |/ |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
84 o 1 public a-B - 548a3d25dbf0 |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
85 | |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
86 o 0 public a-A - 054250a37db4 |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
87 |
15484
a44446ff9ad8
phases: marked content of a changegroup as published
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
88 |
15485
fa47291b3f1f
phases: mark content pushed as public in local repo on push
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15484
diff
changeset
|
89 pull did not updated ../alpha state. |
17424
e7cfe3587ea4
fix trivial spelling errors
Mads Kiilerich <mads@kiilerich.com>
parents:
16539
diff
changeset
|
90 push from alpha to beta should update phase even if nothing is transferred |
15484
a44446ff9ad8
phases: marked content of a changegroup as published
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
91 |
15485
fa47291b3f1f
phases: mark content pushed as public in local repo on push
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15484
diff
changeset
|
92 $ cd ../alpha |
fa47291b3f1f
phases: mark content pushed as public in local repo on push
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15484
diff
changeset
|
93 $ hgph # not updated by remote pull |
15824
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
94 @ 3 draft a-D - b555f63b6063 |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
95 | |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
96 o 2 draft a-C - 54acac6f23ab |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
97 | |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
98 o 1 public a-B - 548a3d25dbf0 |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
99 | |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
100 o 0 public a-A - 054250a37db4 |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
101 |
20314
b396032e1bb8
phase: properly compute ancestors of --rev on push (issue3786)
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
20117
diff
changeset
|
102 $ hg push -r 2 ../beta |
b396032e1bb8
phase: properly compute ancestors of --rev on push (issue3786)
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
20117
diff
changeset
|
103 pushing to ../beta |
b396032e1bb8
phase: properly compute ancestors of --rev on push (issue3786)
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
20117
diff
changeset
|
104 searching for changes |
b396032e1bb8
phase: properly compute ancestors of --rev on push (issue3786)
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
20117
diff
changeset
|
105 no changes found |
b396032e1bb8
phase: properly compute ancestors of --rev on push (issue3786)
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
20117
diff
changeset
|
106 [1] |
b396032e1bb8
phase: properly compute ancestors of --rev on push (issue3786)
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
20117
diff
changeset
|
107 $ hgph |
b396032e1bb8
phase: properly compute ancestors of --rev on push (issue3786)
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
20117
diff
changeset
|
108 @ 3 draft a-D - b555f63b6063 |
b396032e1bb8
phase: properly compute ancestors of --rev on push (issue3786)
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
20117
diff
changeset
|
109 | |
b396032e1bb8
phase: properly compute ancestors of --rev on push (issue3786)
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
20117
diff
changeset
|
110 o 2 public a-C - 54acac6f23ab |
b396032e1bb8
phase: properly compute ancestors of --rev on push (issue3786)
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
20117
diff
changeset
|
111 | |
b396032e1bb8
phase: properly compute ancestors of --rev on push (issue3786)
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
20117
diff
changeset
|
112 o 1 public a-B - 548a3d25dbf0 |
b396032e1bb8
phase: properly compute ancestors of --rev on push (issue3786)
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
20117
diff
changeset
|
113 | |
b396032e1bb8
phase: properly compute ancestors of --rev on push (issue3786)
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
20117
diff
changeset
|
114 o 0 public a-A - 054250a37db4 |
b396032e1bb8
phase: properly compute ancestors of --rev on push (issue3786)
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
20117
diff
changeset
|
115 |
15485
fa47291b3f1f
phases: mark content pushed as public in local repo on push
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15484
diff
changeset
|
116 $ hg push ../beta |
fa47291b3f1f
phases: mark content pushed as public in local repo on push
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15484
diff
changeset
|
117 pushing to ../beta |
fa47291b3f1f
phases: mark content pushed as public in local repo on push
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15484
diff
changeset
|
118 searching for changes |
fa47291b3f1f
phases: mark content pushed as public in local repo on push
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15484
diff
changeset
|
119 no changes found |
16023
90f8b8dd0326
push: return 1 if no changes found (issue3228)
Matt Mackall <mpm@selenic.com>
parents:
16013
diff
changeset
|
120 [1] |
15485
fa47291b3f1f
phases: mark content pushed as public in local repo on push
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15484
diff
changeset
|
121 $ hgph |
15824
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
122 @ 3 public a-D - b555f63b6063 |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
123 | |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
124 o 2 public a-C - 54acac6f23ab |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
125 | |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
126 o 1 public a-B - 548a3d25dbf0 |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
127 | |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
128 o 0 public a-A - 054250a37db4 |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
129 |
15485
fa47291b3f1f
phases: mark content pushed as public in local repo on push
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15484
diff
changeset
|
130 |
15486
1eefa4451c56
phases: set common changeset to public on pull
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15485
diff
changeset
|
131 update must update phase of common changeset too |
1eefa4451c56
phases: set common changeset to public on pull
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15485
diff
changeset
|
132 |
1eefa4451c56
phases: set common changeset to public on pull
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15485
diff
changeset
|
133 $ hg pull ../beta # getting b-A |
1eefa4451c56
phases: set common changeset to public on pull
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15485
diff
changeset
|
134 pulling from ../beta |
1eefa4451c56
phases: set common changeset to public on pull
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15485
diff
changeset
|
135 searching for changes |
1eefa4451c56
phases: set common changeset to public on pull
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15485
diff
changeset
|
136 adding changesets |
1eefa4451c56
phases: set common changeset to public on pull
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15485
diff
changeset
|
137 adding manifests |
1eefa4451c56
phases: set common changeset to public on pull
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15485
diff
changeset
|
138 adding file changes |
1eefa4451c56
phases: set common changeset to public on pull
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15485
diff
changeset
|
139 added 1 changesets with 1 changes to 1 files (+1 heads) |
1eefa4451c56
phases: set common changeset to public on pull
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15485
diff
changeset
|
140 (run 'hg heads' to see heads, 'hg merge' to merge) |
1eefa4451c56
phases: set common changeset to public on pull
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15485
diff
changeset
|
141 |
1eefa4451c56
phases: set common changeset to public on pull
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15485
diff
changeset
|
142 $ cd ../beta |
1eefa4451c56
phases: set common changeset to public on pull
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15485
diff
changeset
|
143 $ hgph # not updated by remote pull |
15824
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
144 o 4 public a-D - b555f63b6063 |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
145 | |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
146 o 3 public a-C - 54acac6f23ab |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
147 | |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
148 | @ 2 draft b-A - f54f1bb90ff3 |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
149 |/ |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
150 o 1 public a-B - 548a3d25dbf0 |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
151 | |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
152 o 0 public a-A - 054250a37db4 |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
153 |
15486
1eefa4451c56
phases: set common changeset to public on pull
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15485
diff
changeset
|
154 $ hg pull ../alpha |
1eefa4451c56
phases: set common changeset to public on pull
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15485
diff
changeset
|
155 pulling from ../alpha |
1eefa4451c56
phases: set common changeset to public on pull
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15485
diff
changeset
|
156 searching for changes |
1eefa4451c56
phases: set common changeset to public on pull
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15485
diff
changeset
|
157 no changes found |
1eefa4451c56
phases: set common changeset to public on pull
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15485
diff
changeset
|
158 $ hgph |
15824
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
159 o 4 public a-D - b555f63b6063 |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
160 | |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
161 o 3 public a-C - 54acac6f23ab |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
162 | |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
163 | @ 2 public b-A - f54f1bb90ff3 |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
164 |/ |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
165 o 1 public a-B - 548a3d25dbf0 |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
166 | |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
167 o 0 public a-A - 054250a37db4 |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
168 |
15486
1eefa4451c56
phases: set common changeset to public on pull
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15485
diff
changeset
|
169 |
15646
218ec96c45d7
phases: add a phases.publish option
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15486
diff
changeset
|
170 Publish configuration option |
218ec96c45d7
phases: add a phases.publish option
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15486
diff
changeset
|
171 ---------------------------- |
15486
1eefa4451c56
phases: set common changeset to public on pull
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15485
diff
changeset
|
172 |
15650
5b26667fc4d3
phases: exchange phase boundaries on pull
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15647
diff
changeset
|
173 Pull |
5b26667fc4d3
phases: exchange phase boundaries on pull
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15647
diff
changeset
|
174 ```` |
5b26667fc4d3
phases: exchange phase boundaries on pull
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15647
diff
changeset
|
175 |
15646
218ec96c45d7
phases: add a phases.publish option
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15486
diff
changeset
|
176 changegroup are added without phase movement |
218ec96c45d7
phases: add a phases.publish option
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15486
diff
changeset
|
177 |
218ec96c45d7
phases: add a phases.publish option
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15486
diff
changeset
|
178 $ hg bundle -a ../base.bundle |
218ec96c45d7
phases: add a phases.publish option
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15486
diff
changeset
|
179 5 changesets found |
218ec96c45d7
phases: add a phases.publish option
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15486
diff
changeset
|
180 $ cd .. |
218ec96c45d7
phases: add a phases.publish option
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15486
diff
changeset
|
181 $ hg init mu |
218ec96c45d7
phases: add a phases.publish option
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15486
diff
changeset
|
182 $ cd mu |
218ec96c45d7
phases: add a phases.publish option
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15486
diff
changeset
|
183 $ cat > .hg/hgrc << EOF |
218ec96c45d7
phases: add a phases.publish option
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15486
diff
changeset
|
184 > [phases] |
218ec96c45d7
phases: add a phases.publish option
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15486
diff
changeset
|
185 > publish=0 |
218ec96c45d7
phases: add a phases.publish option
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15486
diff
changeset
|
186 > EOF |
218ec96c45d7
phases: add a phases.publish option
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15486
diff
changeset
|
187 $ hg unbundle ../base.bundle |
218ec96c45d7
phases: add a phases.publish option
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15486
diff
changeset
|
188 adding changesets |
218ec96c45d7
phases: add a phases.publish option
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15486
diff
changeset
|
189 adding manifests |
218ec96c45d7
phases: add a phases.publish option
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15486
diff
changeset
|
190 adding file changes |
218ec96c45d7
phases: add a phases.publish option
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15486
diff
changeset
|
191 added 5 changesets with 5 changes to 5 files (+1 heads) |
218ec96c45d7
phases: add a phases.publish option
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15486
diff
changeset
|
192 (run 'hg heads' to see heads, 'hg merge' to merge) |
218ec96c45d7
phases: add a phases.publish option
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15486
diff
changeset
|
193 $ hgph |
15824
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
194 o 4 draft a-D - b555f63b6063 |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
195 | |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
196 o 3 draft a-C - 54acac6f23ab |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
197 | |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
198 | o 2 draft b-A - f54f1bb90ff3 |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
199 |/ |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
200 o 1 draft a-B - 548a3d25dbf0 |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
201 | |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
202 o 0 draft a-A - 054250a37db4 |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
203 |
15647
ce193147f492
phases: update exchange test to include node hash.
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15646
diff
changeset
|
204 $ cd .. |
15646
218ec96c45d7
phases: add a phases.publish option
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15486
diff
changeset
|
205 |
15650
5b26667fc4d3
phases: exchange phase boundaries on pull
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15647
diff
changeset
|
206 Pulling from publish=False to publish=False does not move boundary. |
5b26667fc4d3
phases: exchange phase boundaries on pull
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15647
diff
changeset
|
207 |
5b26667fc4d3
phases: exchange phase boundaries on pull
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15647
diff
changeset
|
208 $ hg init nu |
5b26667fc4d3
phases: exchange phase boundaries on pull
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15647
diff
changeset
|
209 $ cd nu |
5b26667fc4d3
phases: exchange phase boundaries on pull
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15647
diff
changeset
|
210 $ cat > .hg/hgrc << EOF |
5b26667fc4d3
phases: exchange phase boundaries on pull
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15647
diff
changeset
|
211 > [phases] |
5b26667fc4d3
phases: exchange phase boundaries on pull
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15647
diff
changeset
|
212 > publish=0 |
5b26667fc4d3
phases: exchange phase boundaries on pull
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15647
diff
changeset
|
213 > EOF |
5b26667fc4d3
phases: exchange phase boundaries on pull
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15647
diff
changeset
|
214 $ hg pull ../mu -r 54acac6f23ab |
5b26667fc4d3
phases: exchange phase boundaries on pull
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15647
diff
changeset
|
215 pulling from ../mu |
5b26667fc4d3
phases: exchange phase boundaries on pull
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15647
diff
changeset
|
216 adding changesets |
5b26667fc4d3
phases: exchange phase boundaries on pull
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15647
diff
changeset
|
217 adding manifests |
5b26667fc4d3
phases: exchange phase boundaries on pull
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15647
diff
changeset
|
218 adding file changes |
5b26667fc4d3
phases: exchange phase boundaries on pull
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15647
diff
changeset
|
219 added 3 changesets with 3 changes to 3 files |
5b26667fc4d3
phases: exchange phase boundaries on pull
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15647
diff
changeset
|
220 (run 'hg update' to get a working copy) |
5b26667fc4d3
phases: exchange phase boundaries on pull
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15647
diff
changeset
|
221 $ hgph |
15824
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
222 o 2 draft a-C - 54acac6f23ab |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
223 | |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
224 o 1 draft a-B - 548a3d25dbf0 |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
225 | |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
226 o 0 draft a-A - 054250a37db4 |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
227 |
15650
5b26667fc4d3
phases: exchange phase boundaries on pull
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15647
diff
changeset
|
228 |
5b26667fc4d3
phases: exchange phase boundaries on pull
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15647
diff
changeset
|
229 Even for common |
5b26667fc4d3
phases: exchange phase boundaries on pull
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15647
diff
changeset
|
230 |
5b26667fc4d3
phases: exchange phase boundaries on pull
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15647
diff
changeset
|
231 $ hg pull ../mu -r f54f1bb90ff3 |
5b26667fc4d3
phases: exchange phase boundaries on pull
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15647
diff
changeset
|
232 pulling from ../mu |
5b26667fc4d3
phases: exchange phase boundaries on pull
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15647
diff
changeset
|
233 searching for changes |
5b26667fc4d3
phases: exchange phase boundaries on pull
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15647
diff
changeset
|
234 adding changesets |
5b26667fc4d3
phases: exchange phase boundaries on pull
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15647
diff
changeset
|
235 adding manifests |
5b26667fc4d3
phases: exchange phase boundaries on pull
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15647
diff
changeset
|
236 adding file changes |
5b26667fc4d3
phases: exchange phase boundaries on pull
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15647
diff
changeset
|
237 added 1 changesets with 1 changes to 1 files (+1 heads) |
5b26667fc4d3
phases: exchange phase boundaries on pull
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15647
diff
changeset
|
238 (run 'hg heads' to see heads, 'hg merge' to merge) |
5b26667fc4d3
phases: exchange phase boundaries on pull
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15647
diff
changeset
|
239 $ hgph |
15824
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
240 o 3 draft b-A - f54f1bb90ff3 |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
241 | |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
242 | o 2 draft a-C - 54acac6f23ab |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
243 |/ |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
244 o 1 draft a-B - 548a3d25dbf0 |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
245 | |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
246 o 0 draft a-A - 054250a37db4 |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
247 |
15650
5b26667fc4d3
phases: exchange phase boundaries on pull
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15647
diff
changeset
|
248 |
5b26667fc4d3
phases: exchange phase boundaries on pull
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15647
diff
changeset
|
249 |
5b26667fc4d3
phases: exchange phase boundaries on pull
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15647
diff
changeset
|
250 Pulling from Publish=True to Publish=False move boundary in common set. |
5b26667fc4d3
phases: exchange phase boundaries on pull
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15647
diff
changeset
|
251 we are in nu |
5b26667fc4d3
phases: exchange phase boundaries on pull
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15647
diff
changeset
|
252 |
5b26667fc4d3
phases: exchange phase boundaries on pull
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15647
diff
changeset
|
253 $ hg pull ../alpha -r b555f63b6063 |
5b26667fc4d3
phases: exchange phase boundaries on pull
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15647
diff
changeset
|
254 pulling from ../alpha |
5b26667fc4d3
phases: exchange phase boundaries on pull
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15647
diff
changeset
|
255 searching for changes |
5b26667fc4d3
phases: exchange phase boundaries on pull
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15647
diff
changeset
|
256 adding changesets |
5b26667fc4d3
phases: exchange phase boundaries on pull
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15647
diff
changeset
|
257 adding manifests |
5b26667fc4d3
phases: exchange phase boundaries on pull
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15647
diff
changeset
|
258 adding file changes |
5b26667fc4d3
phases: exchange phase boundaries on pull
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15647
diff
changeset
|
259 added 1 changesets with 1 changes to 1 files |
5b26667fc4d3
phases: exchange phase boundaries on pull
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15647
diff
changeset
|
260 (run 'hg update' to get a working copy) |
15956
5653f2d166ea
push: prevent moving phases outside of the pushed subset
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15891
diff
changeset
|
261 $ hgph # f54f1bb90ff3 stay draft, not ancestor of -r |
15824
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
262 o 4 public a-D - b555f63b6063 |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
263 | |
15956
5653f2d166ea
push: prevent moving phases outside of the pushed subset
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15891
diff
changeset
|
264 | o 3 draft b-A - f54f1bb90ff3 |
15824
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
265 | | |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
266 o | 2 public a-C - 54acac6f23ab |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
267 |/ |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
268 o 1 public a-B - 548a3d25dbf0 |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
269 | |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
270 o 0 public a-A - 054250a37db4 |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
271 |
15650
5b26667fc4d3
phases: exchange phase boundaries on pull
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15647
diff
changeset
|
272 |
5b26667fc4d3
phases: exchange phase boundaries on pull
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15647
diff
changeset
|
273 pulling from Publish=False to publish=False with some public |
5b26667fc4d3
phases: exchange phase boundaries on pull
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15647
diff
changeset
|
274 |
5b26667fc4d3
phases: exchange phase boundaries on pull
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15647
diff
changeset
|
275 $ hg up -q f54f1bb90ff3 |
5b26667fc4d3
phases: exchange phase boundaries on pull
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15647
diff
changeset
|
276 $ mkcommit n-A |
5b26667fc4d3
phases: exchange phase boundaries on pull
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15647
diff
changeset
|
277 $ mkcommit n-B |
5b26667fc4d3
phases: exchange phase boundaries on pull
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15647
diff
changeset
|
278 $ hgph |
15824
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
279 @ 6 draft n-B - 145e75495359 |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
280 | |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
281 o 5 draft n-A - d6bcb4f74035 |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
282 | |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
283 | o 4 public a-D - b555f63b6063 |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
284 | | |
15956
5653f2d166ea
push: prevent moving phases outside of the pushed subset
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15891
diff
changeset
|
285 o | 3 draft b-A - f54f1bb90ff3 |
15824
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
286 | | |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
287 | o 2 public a-C - 54acac6f23ab |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
288 |/ |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
289 o 1 public a-B - 548a3d25dbf0 |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
290 | |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
291 o 0 public a-A - 054250a37db4 |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
292 |
15650
5b26667fc4d3
phases: exchange phase boundaries on pull
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15647
diff
changeset
|
293 $ cd ../mu |
5b26667fc4d3
phases: exchange phase boundaries on pull
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15647
diff
changeset
|
294 $ hg pull ../nu |
5b26667fc4d3
phases: exchange phase boundaries on pull
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15647
diff
changeset
|
295 pulling from ../nu |
5b26667fc4d3
phases: exchange phase boundaries on pull
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15647
diff
changeset
|
296 searching for changes |
5b26667fc4d3
phases: exchange phase boundaries on pull
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15647
diff
changeset
|
297 adding changesets |
5b26667fc4d3
phases: exchange phase boundaries on pull
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15647
diff
changeset
|
298 adding manifests |
5b26667fc4d3
phases: exchange phase boundaries on pull
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15647
diff
changeset
|
299 adding file changes |
5b26667fc4d3
phases: exchange phase boundaries on pull
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15647
diff
changeset
|
300 added 2 changesets with 2 changes to 2 files |
5b26667fc4d3
phases: exchange phase boundaries on pull
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15647
diff
changeset
|
301 (run 'hg update' to get a working copy) |
5b26667fc4d3
phases: exchange phase boundaries on pull
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15647
diff
changeset
|
302 $ hgph |
15824
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
303 o 6 draft n-B - 145e75495359 |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
304 | |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
305 o 5 draft n-A - d6bcb4f74035 |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
306 | |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
307 | o 4 public a-D - b555f63b6063 |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
308 | | |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
309 | o 3 public a-C - 54acac6f23ab |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
310 | | |
15956
5653f2d166ea
push: prevent moving phases outside of the pushed subset
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15891
diff
changeset
|
311 o | 2 draft b-A - f54f1bb90ff3 |
15824
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
312 |/ |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
313 o 1 public a-B - 548a3d25dbf0 |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
314 | |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
315 o 0 public a-A - 054250a37db4 |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
316 |
15650
5b26667fc4d3
phases: exchange phase boundaries on pull
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15647
diff
changeset
|
317 $ cd .. |
5b26667fc4d3
phases: exchange phase boundaries on pull
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15647
diff
changeset
|
318 |
5b26667fc4d3
phases: exchange phase boundaries on pull
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15647
diff
changeset
|
319 pulling into publish=True |
5b26667fc4d3
phases: exchange phase boundaries on pull
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15647
diff
changeset
|
320 |
5b26667fc4d3
phases: exchange phase boundaries on pull
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15647
diff
changeset
|
321 $ cd alpha |
5b26667fc4d3
phases: exchange phase boundaries on pull
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15647
diff
changeset
|
322 $ hgph |
15824
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
323 o 4 public b-A - f54f1bb90ff3 |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
324 | |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
325 | @ 3 public a-D - b555f63b6063 |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
326 | | |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
327 | o 2 public a-C - 54acac6f23ab |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
328 |/ |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
329 o 1 public a-B - 548a3d25dbf0 |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
330 | |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
331 o 0 public a-A - 054250a37db4 |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
332 |
15650
5b26667fc4d3
phases: exchange phase boundaries on pull
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15647
diff
changeset
|
333 $ hg pull ../mu |
5b26667fc4d3
phases: exchange phase boundaries on pull
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15647
diff
changeset
|
334 pulling from ../mu |
5b26667fc4d3
phases: exchange phase boundaries on pull
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15647
diff
changeset
|
335 searching for changes |
5b26667fc4d3
phases: exchange phase boundaries on pull
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15647
diff
changeset
|
336 adding changesets |
5b26667fc4d3
phases: exchange phase boundaries on pull
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15647
diff
changeset
|
337 adding manifests |
5b26667fc4d3
phases: exchange phase boundaries on pull
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15647
diff
changeset
|
338 adding file changes |
5b26667fc4d3
phases: exchange phase boundaries on pull
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15647
diff
changeset
|
339 added 2 changesets with 2 changes to 2 files |
5b26667fc4d3
phases: exchange phase boundaries on pull
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15647
diff
changeset
|
340 (run 'hg update' to get a working copy) |
5b26667fc4d3
phases: exchange phase boundaries on pull
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15647
diff
changeset
|
341 $ hgph |
15824
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
342 o 6 draft n-B - 145e75495359 |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
343 | |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
344 o 5 draft n-A - d6bcb4f74035 |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
345 | |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
346 o 4 public b-A - f54f1bb90ff3 |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
347 | |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
348 | @ 3 public a-D - b555f63b6063 |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
349 | | |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
350 | o 2 public a-C - 54acac6f23ab |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
351 |/ |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
352 o 1 public a-B - 548a3d25dbf0 |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
353 | |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
354 o 0 public a-A - 054250a37db4 |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
355 |
15650
5b26667fc4d3
phases: exchange phase boundaries on pull
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15647
diff
changeset
|
356 $ cd .. |
5b26667fc4d3
phases: exchange phase boundaries on pull
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15647
diff
changeset
|
357 |
5b26667fc4d3
phases: exchange phase boundaries on pull
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15647
diff
changeset
|
358 pulling back into original repo |
5b26667fc4d3
phases: exchange phase boundaries on pull
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15647
diff
changeset
|
359 |
5b26667fc4d3
phases: exchange phase boundaries on pull
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15647
diff
changeset
|
360 $ cd nu |
5b26667fc4d3
phases: exchange phase boundaries on pull
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15647
diff
changeset
|
361 $ hg pull ../alpha |
5b26667fc4d3
phases: exchange phase boundaries on pull
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15647
diff
changeset
|
362 pulling from ../alpha |
5b26667fc4d3
phases: exchange phase boundaries on pull
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15647
diff
changeset
|
363 searching for changes |
5b26667fc4d3
phases: exchange phase boundaries on pull
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15647
diff
changeset
|
364 no changes found |
5b26667fc4d3
phases: exchange phase boundaries on pull
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15647
diff
changeset
|
365 $ hgph |
15824
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
366 @ 6 public n-B - 145e75495359 |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
367 | |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
368 o 5 public n-A - d6bcb4f74035 |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
369 | |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
370 | o 4 public a-D - b555f63b6063 |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
371 | | |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
372 o | 3 public b-A - f54f1bb90ff3 |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
373 | | |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
374 | o 2 public a-C - 54acac6f23ab |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
375 |/ |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
376 o 1 public a-B - 548a3d25dbf0 |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
377 | |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
378 o 0 public a-A - 054250a37db4 |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
379 |
15651
e69a3cdad37e
phases: exchange phase boundaries on push
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15650
diff
changeset
|
380 |
e69a3cdad37e
phases: exchange phase boundaries on push
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15650
diff
changeset
|
381 Push |
e69a3cdad37e
phases: exchange phase boundaries on push
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15650
diff
changeset
|
382 ```` |
e69a3cdad37e
phases: exchange phase boundaries on push
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15650
diff
changeset
|
383 |
15659
7fba5a245acc
phases: change publish behavior to only alter behavior when server.
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15651
diff
changeset
|
384 (inserted) |
7fba5a245acc
phases: change publish behavior to only alter behavior when server.
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15651
diff
changeset
|
385 |
7fba5a245acc
phases: change publish behavior to only alter behavior when server.
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15651
diff
changeset
|
386 Test that phase are pushed even when they are nothing to pus |
7fba5a245acc
phases: change publish behavior to only alter behavior when server.
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15651
diff
changeset
|
387 (this might be tested later bu are very convenient to not alter too much test) |
7fba5a245acc
phases: change publish behavior to only alter behavior when server.
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15651
diff
changeset
|
388 |
7fba5a245acc
phases: change publish behavior to only alter behavior when server.
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15651
diff
changeset
|
389 Push back to alpha |
7fba5a245acc
phases: change publish behavior to only alter behavior when server.
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15651
diff
changeset
|
390 |
7fba5a245acc
phases: change publish behavior to only alter behavior when server.
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15651
diff
changeset
|
391 $ hg push ../alpha # from nu |
7fba5a245acc
phases: change publish behavior to only alter behavior when server.
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15651
diff
changeset
|
392 pushing to ../alpha |
7fba5a245acc
phases: change publish behavior to only alter behavior when server.
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15651
diff
changeset
|
393 searching for changes |
7fba5a245acc
phases: change publish behavior to only alter behavior when server.
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15651
diff
changeset
|
394 no changes found |
16023
90f8b8dd0326
push: return 1 if no changes found (issue3228)
Matt Mackall <mpm@selenic.com>
parents:
16013
diff
changeset
|
395 [1] |
15659
7fba5a245acc
phases: change publish behavior to only alter behavior when server.
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15651
diff
changeset
|
396 $ cd .. |
7fba5a245acc
phases: change publish behavior to only alter behavior when server.
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15651
diff
changeset
|
397 $ cd alpha |
7fba5a245acc
phases: change publish behavior to only alter behavior when server.
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15651
diff
changeset
|
398 $ hgph |
15824
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
399 o 6 public n-B - 145e75495359 |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
400 | |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
401 o 5 public n-A - d6bcb4f74035 |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
402 | |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
403 o 4 public b-A - f54f1bb90ff3 |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
404 | |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
405 | @ 3 public a-D - b555f63b6063 |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
406 | | |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
407 | o 2 public a-C - 54acac6f23ab |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
408 |/ |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
409 o 1 public a-B - 548a3d25dbf0 |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
410 | |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
411 o 0 public a-A - 054250a37db4 |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
412 |
15659
7fba5a245acc
phases: change publish behavior to only alter behavior when server.
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15651
diff
changeset
|
413 |
7fba5a245acc
phases: change publish behavior to only alter behavior when server.
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15651
diff
changeset
|
414 (end insertion) |
7fba5a245acc
phases: change publish behavior to only alter behavior when server.
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15651
diff
changeset
|
415 |
7fba5a245acc
phases: change publish behavior to only alter behavior when server.
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15651
diff
changeset
|
416 |
15651
e69a3cdad37e
phases: exchange phase boundaries on push
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15650
diff
changeset
|
417 initial setup |
e69a3cdad37e
phases: exchange phase boundaries on push
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15650
diff
changeset
|
418 |
20117
aa9385f983fa
tests: don't load unnecessary graphlog extension
Martin Geisler <martin@geisler.net>
parents:
20008
diff
changeset
|
419 $ hg log -G # of alpha |
15651
e69a3cdad37e
phases: exchange phase boundaries on push
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15650
diff
changeset
|
420 o changeset: 6:145e75495359 |
e69a3cdad37e
phases: exchange phase boundaries on push
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15650
diff
changeset
|
421 | tag: tip |
e69a3cdad37e
phases: exchange phase boundaries on push
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15650
diff
changeset
|
422 | user: test |
e69a3cdad37e
phases: exchange phase boundaries on push
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15650
diff
changeset
|
423 | date: Thu Jan 01 00:00:00 1970 +0000 |
e69a3cdad37e
phases: exchange phase boundaries on push
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15650
diff
changeset
|
424 | summary: n-B |
e69a3cdad37e
phases: exchange phase boundaries on push
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15650
diff
changeset
|
425 | |
e69a3cdad37e
phases: exchange phase boundaries on push
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15650
diff
changeset
|
426 o changeset: 5:d6bcb4f74035 |
e69a3cdad37e
phases: exchange phase boundaries on push
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15650
diff
changeset
|
427 | user: test |
e69a3cdad37e
phases: exchange phase boundaries on push
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15650
diff
changeset
|
428 | date: Thu Jan 01 00:00:00 1970 +0000 |
e69a3cdad37e
phases: exchange phase boundaries on push
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15650
diff
changeset
|
429 | summary: n-A |
e69a3cdad37e
phases: exchange phase boundaries on push
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15650
diff
changeset
|
430 | |
e69a3cdad37e
phases: exchange phase boundaries on push
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15650
diff
changeset
|
431 o changeset: 4:f54f1bb90ff3 |
e69a3cdad37e
phases: exchange phase boundaries on push
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15650
diff
changeset
|
432 | parent: 1:548a3d25dbf0 |
e69a3cdad37e
phases: exchange phase boundaries on push
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15650
diff
changeset
|
433 | user: test |
e69a3cdad37e
phases: exchange phase boundaries on push
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15650
diff
changeset
|
434 | date: Thu Jan 01 00:00:00 1970 +0000 |
e69a3cdad37e
phases: exchange phase boundaries on push
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15650
diff
changeset
|
435 | summary: b-A |
e69a3cdad37e
phases: exchange phase boundaries on push
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15650
diff
changeset
|
436 | |
e69a3cdad37e
phases: exchange phase boundaries on push
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15650
diff
changeset
|
437 | @ changeset: 3:b555f63b6063 |
e69a3cdad37e
phases: exchange phase boundaries on push
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15650
diff
changeset
|
438 | | user: test |
e69a3cdad37e
phases: exchange phase boundaries on push
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15650
diff
changeset
|
439 | | date: Thu Jan 01 00:00:00 1970 +0000 |
e69a3cdad37e
phases: exchange phase boundaries on push
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15650
diff
changeset
|
440 | | summary: a-D |
e69a3cdad37e
phases: exchange phase boundaries on push
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15650
diff
changeset
|
441 | | |
e69a3cdad37e
phases: exchange phase boundaries on push
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15650
diff
changeset
|
442 | o changeset: 2:54acac6f23ab |
e69a3cdad37e
phases: exchange phase boundaries on push
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15650
diff
changeset
|
443 |/ user: test |
e69a3cdad37e
phases: exchange phase boundaries on push
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15650
diff
changeset
|
444 | date: Thu Jan 01 00:00:00 1970 +0000 |
e69a3cdad37e
phases: exchange phase boundaries on push
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15650
diff
changeset
|
445 | summary: a-C |
e69a3cdad37e
phases: exchange phase boundaries on push
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15650
diff
changeset
|
446 | |
e69a3cdad37e
phases: exchange phase boundaries on push
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15650
diff
changeset
|
447 o changeset: 1:548a3d25dbf0 |
e69a3cdad37e
phases: exchange phase boundaries on push
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15650
diff
changeset
|
448 | user: test |
e69a3cdad37e
phases: exchange phase boundaries on push
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15650
diff
changeset
|
449 | date: Thu Jan 01 00:00:00 1970 +0000 |
e69a3cdad37e
phases: exchange phase boundaries on push
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15650
diff
changeset
|
450 | summary: a-B |
e69a3cdad37e
phases: exchange phase boundaries on push
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15650
diff
changeset
|
451 | |
e69a3cdad37e
phases: exchange phase boundaries on push
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15650
diff
changeset
|
452 o changeset: 0:054250a37db4 |
e69a3cdad37e
phases: exchange phase boundaries on push
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15650
diff
changeset
|
453 user: test |
e69a3cdad37e
phases: exchange phase boundaries on push
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15650
diff
changeset
|
454 date: Thu Jan 01 00:00:00 1970 +0000 |
e69a3cdad37e
phases: exchange phase boundaries on push
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15650
diff
changeset
|
455 summary: a-A |
e69a3cdad37e
phases: exchange phase boundaries on push
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15650
diff
changeset
|
456 |
e69a3cdad37e
phases: exchange phase boundaries on push
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15650
diff
changeset
|
457 $ mkcommit a-E |
e69a3cdad37e
phases: exchange phase boundaries on push
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15650
diff
changeset
|
458 $ mkcommit a-F |
e69a3cdad37e
phases: exchange phase boundaries on push
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15650
diff
changeset
|
459 $ mkcommit a-G |
e69a3cdad37e
phases: exchange phase boundaries on push
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15650
diff
changeset
|
460 $ hg up d6bcb4f74035 -q |
e69a3cdad37e
phases: exchange phase boundaries on push
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15650
diff
changeset
|
461 $ mkcommit a-H |
e69a3cdad37e
phases: exchange phase boundaries on push
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15650
diff
changeset
|
462 created new head |
e69a3cdad37e
phases: exchange phase boundaries on push
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15650
diff
changeset
|
463 $ hgph |
15824
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
464 @ 10 draft a-H - 967b449fbc94 |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
465 | |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
466 | o 9 draft a-G - 3e27b6f1eee1 |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
467 | | |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
468 | o 8 draft a-F - b740e3e5c05d |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
469 | | |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
470 | o 7 draft a-E - e9f537e46dea |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
471 | | |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
472 +---o 6 public n-B - 145e75495359 |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
473 | | |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
474 o | 5 public n-A - d6bcb4f74035 |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
475 | | |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
476 o | 4 public b-A - f54f1bb90ff3 |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
477 | | |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
478 | o 3 public a-D - b555f63b6063 |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
479 | | |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
480 | o 2 public a-C - 54acac6f23ab |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
481 |/ |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
482 o 1 public a-B - 548a3d25dbf0 |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
483 | |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
484 o 0 public a-A - 054250a37db4 |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
485 |
15651
e69a3cdad37e
phases: exchange phase boundaries on push
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15650
diff
changeset
|
486 |
16195
40cc20042fb4
bundlerepo: bundle repos should be non-publishing (issue3266)
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
16107
diff
changeset
|
487 Pulling from bundle does not alter phases of changeset not present in the bundle |
40cc20042fb4
bundlerepo: bundle repos should be non-publishing (issue3266)
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
16107
diff
changeset
|
488 |
40cc20042fb4
bundlerepo: bundle repos should be non-publishing (issue3266)
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
16107
diff
changeset
|
489 $ hg bundle --base 1 -r 6 -r 3 ../partial-bundle.hg |
40cc20042fb4
bundlerepo: bundle repos should be non-publishing (issue3266)
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
16107
diff
changeset
|
490 5 changesets found |
40cc20042fb4
bundlerepo: bundle repos should be non-publishing (issue3266)
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
16107
diff
changeset
|
491 $ hg pull ../partial-bundle.hg |
40cc20042fb4
bundlerepo: bundle repos should be non-publishing (issue3266)
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
16107
diff
changeset
|
492 pulling from ../partial-bundle.hg |
40cc20042fb4
bundlerepo: bundle repos should be non-publishing (issue3266)
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
16107
diff
changeset
|
493 searching for changes |
40cc20042fb4
bundlerepo: bundle repos should be non-publishing (issue3266)
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
16107
diff
changeset
|
494 no changes found |
40cc20042fb4
bundlerepo: bundle repos should be non-publishing (issue3266)
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
16107
diff
changeset
|
495 $ hgph |
40cc20042fb4
bundlerepo: bundle repos should be non-publishing (issue3266)
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
16107
diff
changeset
|
496 @ 10 draft a-H - 967b449fbc94 |
40cc20042fb4
bundlerepo: bundle repos should be non-publishing (issue3266)
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
16107
diff
changeset
|
497 | |
40cc20042fb4
bundlerepo: bundle repos should be non-publishing (issue3266)
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
16107
diff
changeset
|
498 | o 9 draft a-G - 3e27b6f1eee1 |
40cc20042fb4
bundlerepo: bundle repos should be non-publishing (issue3266)
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
16107
diff
changeset
|
499 | | |
40cc20042fb4
bundlerepo: bundle repos should be non-publishing (issue3266)
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
16107
diff
changeset
|
500 | o 8 draft a-F - b740e3e5c05d |
40cc20042fb4
bundlerepo: bundle repos should be non-publishing (issue3266)
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
16107
diff
changeset
|
501 | | |
40cc20042fb4
bundlerepo: bundle repos should be non-publishing (issue3266)
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
16107
diff
changeset
|
502 | o 7 draft a-E - e9f537e46dea |
40cc20042fb4
bundlerepo: bundle repos should be non-publishing (issue3266)
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
16107
diff
changeset
|
503 | | |
40cc20042fb4
bundlerepo: bundle repos should be non-publishing (issue3266)
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
16107
diff
changeset
|
504 +---o 6 public n-B - 145e75495359 |
40cc20042fb4
bundlerepo: bundle repos should be non-publishing (issue3266)
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
16107
diff
changeset
|
505 | | |
40cc20042fb4
bundlerepo: bundle repos should be non-publishing (issue3266)
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
16107
diff
changeset
|
506 o | 5 public n-A - d6bcb4f74035 |
40cc20042fb4
bundlerepo: bundle repos should be non-publishing (issue3266)
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
16107
diff
changeset
|
507 | | |
40cc20042fb4
bundlerepo: bundle repos should be non-publishing (issue3266)
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
16107
diff
changeset
|
508 o | 4 public b-A - f54f1bb90ff3 |
40cc20042fb4
bundlerepo: bundle repos should be non-publishing (issue3266)
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
16107
diff
changeset
|
509 | | |
40cc20042fb4
bundlerepo: bundle repos should be non-publishing (issue3266)
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
16107
diff
changeset
|
510 | o 3 public a-D - b555f63b6063 |
40cc20042fb4
bundlerepo: bundle repos should be non-publishing (issue3266)
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
16107
diff
changeset
|
511 | | |
40cc20042fb4
bundlerepo: bundle repos should be non-publishing (issue3266)
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
16107
diff
changeset
|
512 | o 2 public a-C - 54acac6f23ab |
40cc20042fb4
bundlerepo: bundle repos should be non-publishing (issue3266)
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
16107
diff
changeset
|
513 |/ |
40cc20042fb4
bundlerepo: bundle repos should be non-publishing (issue3266)
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
16107
diff
changeset
|
514 o 1 public a-B - 548a3d25dbf0 |
40cc20042fb4
bundlerepo: bundle repos should be non-publishing (issue3266)
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
16107
diff
changeset
|
515 | |
40cc20042fb4
bundlerepo: bundle repos should be non-publishing (issue3266)
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
16107
diff
changeset
|
516 o 0 public a-A - 054250a37db4 |
40cc20042fb4
bundlerepo: bundle repos should be non-publishing (issue3266)
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
16107
diff
changeset
|
517 |
40cc20042fb4
bundlerepo: bundle repos should be non-publishing (issue3266)
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
16107
diff
changeset
|
518 |
15651
e69a3cdad37e
phases: exchange phase boundaries on push
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15650
diff
changeset
|
519 Pushing to Publish=False (unknown changeset) |
e69a3cdad37e
phases: exchange phase boundaries on push
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15650
diff
changeset
|
520 |
e69a3cdad37e
phases: exchange phase boundaries on push
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15650
diff
changeset
|
521 $ hg push ../mu -r b740e3e5c05d # a-F |
e69a3cdad37e
phases: exchange phase boundaries on push
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15650
diff
changeset
|
522 pushing to ../mu |
e69a3cdad37e
phases: exchange phase boundaries on push
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15650
diff
changeset
|
523 searching for changes |
e69a3cdad37e
phases: exchange phase boundaries on push
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15650
diff
changeset
|
524 adding changesets |
e69a3cdad37e
phases: exchange phase boundaries on push
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15650
diff
changeset
|
525 adding manifests |
e69a3cdad37e
phases: exchange phase boundaries on push
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15650
diff
changeset
|
526 adding file changes |
e69a3cdad37e
phases: exchange phase boundaries on push
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15650
diff
changeset
|
527 added 2 changesets with 2 changes to 2 files |
e69a3cdad37e
phases: exchange phase boundaries on push
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15650
diff
changeset
|
528 $ hgph |
15824
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
529 @ 10 draft a-H - 967b449fbc94 |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
530 | |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
531 | o 9 draft a-G - 3e27b6f1eee1 |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
532 | | |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
533 | o 8 draft a-F - b740e3e5c05d |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
534 | | |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
535 | o 7 draft a-E - e9f537e46dea |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
536 | | |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
537 +---o 6 public n-B - 145e75495359 |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
538 | | |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
539 o | 5 public n-A - d6bcb4f74035 |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
540 | | |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
541 o | 4 public b-A - f54f1bb90ff3 |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
542 | | |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
543 | o 3 public a-D - b555f63b6063 |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
544 | | |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
545 | o 2 public a-C - 54acac6f23ab |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
546 |/ |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
547 o 1 public a-B - 548a3d25dbf0 |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
548 | |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
549 o 0 public a-A - 054250a37db4 |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
550 |
15651
e69a3cdad37e
phases: exchange phase boundaries on push
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15650
diff
changeset
|
551 |
e69a3cdad37e
phases: exchange phase boundaries on push
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15650
diff
changeset
|
552 $ cd ../mu |
15956
5653f2d166ea
push: prevent moving phases outside of the pushed subset
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15891
diff
changeset
|
553 $ hgph # again f54f1bb90ff3, d6bcb4f74035 and 145e75495359 stay draft, |
5653f2d166ea
push: prevent moving phases outside of the pushed subset
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15891
diff
changeset
|
554 > # not ancestor of -r |
15824
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
555 o 8 draft a-F - b740e3e5c05d |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
556 | |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
557 o 7 draft a-E - e9f537e46dea |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
558 | |
15956
5653f2d166ea
push: prevent moving phases outside of the pushed subset
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15891
diff
changeset
|
559 | o 6 draft n-B - 145e75495359 |
15824
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
560 | | |
15956
5653f2d166ea
push: prevent moving phases outside of the pushed subset
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15891
diff
changeset
|
561 | o 5 draft n-A - d6bcb4f74035 |
15824
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
562 | | |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
563 o | 4 public a-D - b555f63b6063 |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
564 | | |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
565 o | 3 public a-C - 54acac6f23ab |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
566 | | |
15956
5653f2d166ea
push: prevent moving phases outside of the pushed subset
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15891
diff
changeset
|
567 | o 2 draft b-A - f54f1bb90ff3 |
15824
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
568 |/ |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
569 o 1 public a-B - 548a3d25dbf0 |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
570 | |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
571 o 0 public a-A - 054250a37db4 |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
572 |
15651
e69a3cdad37e
phases: exchange phase boundaries on push
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15650
diff
changeset
|
573 |
e69a3cdad37e
phases: exchange phase boundaries on push
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15650
diff
changeset
|
574 Pushing to Publish=True (unknown changeset) |
e69a3cdad37e
phases: exchange phase boundaries on push
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15650
diff
changeset
|
575 |
e69a3cdad37e
phases: exchange phase boundaries on push
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15650
diff
changeset
|
576 $ hg push ../beta -r b740e3e5c05d |
e69a3cdad37e
phases: exchange phase boundaries on push
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15650
diff
changeset
|
577 pushing to ../beta |
e69a3cdad37e
phases: exchange phase boundaries on push
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15650
diff
changeset
|
578 searching for changes |
e69a3cdad37e
phases: exchange phase boundaries on push
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15650
diff
changeset
|
579 adding changesets |
e69a3cdad37e
phases: exchange phase boundaries on push
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15650
diff
changeset
|
580 adding manifests |
e69a3cdad37e
phases: exchange phase boundaries on push
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15650
diff
changeset
|
581 adding file changes |
e69a3cdad37e
phases: exchange phase boundaries on push
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15650
diff
changeset
|
582 added 2 changesets with 2 changes to 2 files |
15956
5653f2d166ea
push: prevent moving phases outside of the pushed subset
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15891
diff
changeset
|
583 $ hgph # again f54f1bb90ff3, d6bcb4f74035 and 145e75495359 stay draft, |
5653f2d166ea
push: prevent moving phases outside of the pushed subset
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15891
diff
changeset
|
584 > # not ancestor of -r |
15824
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
585 o 8 public a-F - b740e3e5c05d |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
586 | |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
587 o 7 public a-E - e9f537e46dea |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
588 | |
15956
5653f2d166ea
push: prevent moving phases outside of the pushed subset
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15891
diff
changeset
|
589 | o 6 draft n-B - 145e75495359 |
15824
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
590 | | |
15956
5653f2d166ea
push: prevent moving phases outside of the pushed subset
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15891
diff
changeset
|
591 | o 5 draft n-A - d6bcb4f74035 |
15824
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
592 | | |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
593 o | 4 public a-D - b555f63b6063 |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
594 | | |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
595 o | 3 public a-C - 54acac6f23ab |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
596 | | |
15956
5653f2d166ea
push: prevent moving phases outside of the pushed subset
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15891
diff
changeset
|
597 | o 2 draft b-A - f54f1bb90ff3 |
15824
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
598 |/ |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
599 o 1 public a-B - 548a3d25dbf0 |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
600 | |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
601 o 0 public a-A - 054250a37db4 |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
602 |
15651
e69a3cdad37e
phases: exchange phase boundaries on push
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15650
diff
changeset
|
603 |
e69a3cdad37e
phases: exchange phase boundaries on push
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15650
diff
changeset
|
604 Pushing to Publish=True (common changeset) |
e69a3cdad37e
phases: exchange phase boundaries on push
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15650
diff
changeset
|
605 |
e69a3cdad37e
phases: exchange phase boundaries on push
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15650
diff
changeset
|
606 $ cd ../beta |
e69a3cdad37e
phases: exchange phase boundaries on push
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15650
diff
changeset
|
607 $ hg push ../alpha |
e69a3cdad37e
phases: exchange phase boundaries on push
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15650
diff
changeset
|
608 pushing to ../alpha |
e69a3cdad37e
phases: exchange phase boundaries on push
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15650
diff
changeset
|
609 searching for changes |
e69a3cdad37e
phases: exchange phase boundaries on push
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15650
diff
changeset
|
610 no changes found |
16023
90f8b8dd0326
push: return 1 if no changes found (issue3228)
Matt Mackall <mpm@selenic.com>
parents:
16013
diff
changeset
|
611 [1] |
15651
e69a3cdad37e
phases: exchange phase boundaries on push
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15650
diff
changeset
|
612 $ hgph |
15824
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
613 o 6 public a-F - b740e3e5c05d |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
614 | |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
615 o 5 public a-E - e9f537e46dea |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
616 | |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
617 o 4 public a-D - b555f63b6063 |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
618 | |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
619 o 3 public a-C - 54acac6f23ab |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
620 | |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
621 | @ 2 public b-A - f54f1bb90ff3 |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
622 |/ |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
623 o 1 public a-B - 548a3d25dbf0 |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
624 | |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
625 o 0 public a-A - 054250a37db4 |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
626 |
15651
e69a3cdad37e
phases: exchange phase boundaries on push
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15650
diff
changeset
|
627 $ cd ../alpha |
15956
5653f2d166ea
push: prevent moving phases outside of the pushed subset
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15891
diff
changeset
|
628 $ hgph |
15824
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
629 @ 10 draft a-H - 967b449fbc94 |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
630 | |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
631 | o 9 draft a-G - 3e27b6f1eee1 |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
632 | | |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
633 | o 8 public a-F - b740e3e5c05d |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
634 | | |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
635 | o 7 public a-E - e9f537e46dea |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
636 | | |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
637 +---o 6 public n-B - 145e75495359 |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
638 | | |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
639 o | 5 public n-A - d6bcb4f74035 |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
640 | | |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
641 o | 4 public b-A - f54f1bb90ff3 |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
642 | | |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
643 | o 3 public a-D - b555f63b6063 |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
644 | | |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
645 | o 2 public a-C - 54acac6f23ab |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
646 |/ |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
647 o 1 public a-B - 548a3d25dbf0 |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
648 | |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
649 o 0 public a-A - 054250a37db4 |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
650 |
15651
e69a3cdad37e
phases: exchange phase boundaries on push
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15650
diff
changeset
|
651 |
e69a3cdad37e
phases: exchange phase boundaries on push
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15650
diff
changeset
|
652 Pushing to Publish=False (common changeset that change phase + unknown one) |
e69a3cdad37e
phases: exchange phase boundaries on push
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15650
diff
changeset
|
653 |
e69a3cdad37e
phases: exchange phase boundaries on push
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15650
diff
changeset
|
654 $ hg push ../mu -r 967b449fbc94 -f |
e69a3cdad37e
phases: exchange phase boundaries on push
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15650
diff
changeset
|
655 pushing to ../mu |
e69a3cdad37e
phases: exchange phase boundaries on push
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15650
diff
changeset
|
656 searching for changes |
e69a3cdad37e
phases: exchange phase boundaries on push
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15650
diff
changeset
|
657 adding changesets |
e69a3cdad37e
phases: exchange phase boundaries on push
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15650
diff
changeset
|
658 adding manifests |
e69a3cdad37e
phases: exchange phase boundaries on push
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15650
diff
changeset
|
659 adding file changes |
e69a3cdad37e
phases: exchange phase boundaries on push
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15650
diff
changeset
|
660 added 1 changesets with 1 changes to 1 files (+1 heads) |
e69a3cdad37e
phases: exchange phase boundaries on push
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15650
diff
changeset
|
661 $ hgph |
15824
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
662 @ 10 draft a-H - 967b449fbc94 |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
663 | |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
664 | o 9 draft a-G - 3e27b6f1eee1 |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
665 | | |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
666 | o 8 public a-F - b740e3e5c05d |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
667 | | |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
668 | o 7 public a-E - e9f537e46dea |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
669 | | |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
670 +---o 6 public n-B - 145e75495359 |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
671 | | |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
672 o | 5 public n-A - d6bcb4f74035 |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
673 | | |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
674 o | 4 public b-A - f54f1bb90ff3 |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
675 | | |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
676 | o 3 public a-D - b555f63b6063 |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
677 | | |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
678 | o 2 public a-C - 54acac6f23ab |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
679 |/ |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
680 o 1 public a-B - 548a3d25dbf0 |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
681 | |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
682 o 0 public a-A - 054250a37db4 |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
683 |
15651
e69a3cdad37e
phases: exchange phase boundaries on push
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15650
diff
changeset
|
684 $ cd ../mu |
e69a3cdad37e
phases: exchange phase boundaries on push
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15650
diff
changeset
|
685 $ hgph # d6bcb4f74035 should have changed phase |
15956
5653f2d166ea
push: prevent moving phases outside of the pushed subset
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15891
diff
changeset
|
686 > # 145e75495359 is still draft. not ancestor of -r |
15824
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
687 o 9 draft a-H - 967b449fbc94 |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
688 | |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
689 | o 8 public a-F - b740e3e5c05d |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
690 | | |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
691 | o 7 public a-E - e9f537e46dea |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
692 | | |
15956
5653f2d166ea
push: prevent moving phases outside of the pushed subset
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15891
diff
changeset
|
693 +---o 6 draft n-B - 145e75495359 |
15824
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
694 | | |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
695 o | 5 public n-A - d6bcb4f74035 |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
696 | | |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
697 | o 4 public a-D - b555f63b6063 |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
698 | | |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
699 | o 3 public a-C - 54acac6f23ab |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
700 | | |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
701 o | 2 public b-A - f54f1bb90ff3 |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
702 |/ |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
703 o 1 public a-B - 548a3d25dbf0 |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
704 | |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
705 o 0 public a-A - 054250a37db4 |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
706 |
15651
e69a3cdad37e
phases: exchange phase boundaries on push
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15650
diff
changeset
|
707 |
e69a3cdad37e
phases: exchange phase boundaries on push
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15650
diff
changeset
|
708 |
e69a3cdad37e
phases: exchange phase boundaries on push
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15650
diff
changeset
|
709 Pushing to Publish=True (common changeset from publish=False) |
e69a3cdad37e
phases: exchange phase boundaries on push
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15650
diff
changeset
|
710 |
15713
cff25e4b37d2
phases: do not exchange secret changesets
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15659
diff
changeset
|
711 (in mu) |
15651
e69a3cdad37e
phases: exchange phase boundaries on push
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15650
diff
changeset
|
712 $ hg push ../alpha |
e69a3cdad37e
phases: exchange phase boundaries on push
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15650
diff
changeset
|
713 pushing to ../alpha |
e69a3cdad37e
phases: exchange phase boundaries on push
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15650
diff
changeset
|
714 searching for changes |
e69a3cdad37e
phases: exchange phase boundaries on push
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15650
diff
changeset
|
715 no changes found |
16023
90f8b8dd0326
push: return 1 if no changes found (issue3228)
Matt Mackall <mpm@selenic.com>
parents:
16013
diff
changeset
|
716 [1] |
15651
e69a3cdad37e
phases: exchange phase boundaries on push
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15650
diff
changeset
|
717 $ hgph |
15824
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
718 o 9 public a-H - 967b449fbc94 |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
719 | |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
720 | o 8 public a-F - b740e3e5c05d |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
721 | | |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
722 | o 7 public a-E - e9f537e46dea |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
723 | | |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
724 +---o 6 public n-B - 145e75495359 |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
725 | | |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
726 o | 5 public n-A - d6bcb4f74035 |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
727 | | |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
728 | o 4 public a-D - b555f63b6063 |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
729 | | |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
730 | o 3 public a-C - 54acac6f23ab |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
731 | | |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
732 o | 2 public b-A - f54f1bb90ff3 |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
733 |/ |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
734 o 1 public a-B - 548a3d25dbf0 |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
735 | |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
736 o 0 public a-A - 054250a37db4 |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
737 |
15651
e69a3cdad37e
phases: exchange phase boundaries on push
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15650
diff
changeset
|
738 $ hgph -R ../alpha # a-H should have been synced to 0 |
15824
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
739 @ 10 public a-H - 967b449fbc94 |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
740 | |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
741 | o 9 draft a-G - 3e27b6f1eee1 |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
742 | | |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
743 | o 8 public a-F - b740e3e5c05d |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
744 | | |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
745 | o 7 public a-E - e9f537e46dea |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
746 | | |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
747 +---o 6 public n-B - 145e75495359 |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
748 | | |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
749 o | 5 public n-A - d6bcb4f74035 |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
750 | | |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
751 o | 4 public b-A - f54f1bb90ff3 |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
752 | | |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
753 | o 3 public a-D - b555f63b6063 |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
754 | | |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
755 | o 2 public a-C - 54acac6f23ab |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
756 |/ |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
757 o 1 public a-B - 548a3d25dbf0 |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
758 | |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
759 o 0 public a-A - 054250a37db4 |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
760 |
15651
e69a3cdad37e
phases: exchange phase boundaries on push
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15650
diff
changeset
|
761 |
15713
cff25e4b37d2
phases: do not exchange secret changesets
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15659
diff
changeset
|
762 |
21010
3d4b54a6f346
phase: add a passing test for (issue3575)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
20314
diff
changeset
|
763 Bare push with next changeset and common changeset needing sync (issue3575) |
3d4b54a6f346
phase: add a passing test for (issue3575)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
20314
diff
changeset
|
764 |
23139
e53f6b72a0e4
spelling: fixes from proofreading of spell checker issues
Mads Kiilerich <madski@unity3d.com>
parents:
22046
diff
changeset
|
765 (reset some stat on remote repo to avoid confusing other tests) |
21010
3d4b54a6f346
phase: add a passing test for (issue3575)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
20314
diff
changeset
|
766 |
3d4b54a6f346
phase: add a passing test for (issue3575)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
20314
diff
changeset
|
767 $ hg -R ../alpha --config extensions.strip= strip --no-backup 967b449fbc94 |
3d4b54a6f346
phase: add a passing test for (issue3575)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
20314
diff
changeset
|
768 0 files updated, 0 files merged, 1 files removed, 0 files unresolved |
3d4b54a6f346
phase: add a passing test for (issue3575)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
20314
diff
changeset
|
769 $ hg phase --force --draft b740e3e5c05d 967b449fbc94 |
3d4b54a6f346
phase: add a passing test for (issue3575)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
20314
diff
changeset
|
770 $ hg push -fv ../alpha |
3d4b54a6f346
phase: add a passing test for (issue3575)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
20314
diff
changeset
|
771 pushing to ../alpha |
3d4b54a6f346
phase: add a passing test for (issue3575)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
20314
diff
changeset
|
772 searching for changes |
3d4b54a6f346
phase: add a passing test for (issue3575)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
20314
diff
changeset
|
773 1 changesets found |
23748
4ab66de46a96
bundle: when verbose, show what takes up the space in the generated bundle
Mads Kiilerich <madski@unity3d.com>
parents:
23139
diff
changeset
|
774 uncompressed size of bundle content: |
25355
53071142c7d7
test: use bundle2 for exchange in test-push-warn
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23748
diff
changeset
|
775 192 (changelog) |
53071142c7d7
test: use bundle2 for exchange in test-push-warn
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23748
diff
changeset
|
776 165 (manifests) |
53071142c7d7
test: use bundle2 for exchange in test-push-warn
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23748
diff
changeset
|
777 131 a-H |
21010
3d4b54a6f346
phase: add a passing test for (issue3575)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
20314
diff
changeset
|
778 adding changesets |
3d4b54a6f346
phase: add a passing test for (issue3575)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
20314
diff
changeset
|
779 adding manifests |
3d4b54a6f346
phase: add a passing test for (issue3575)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
20314
diff
changeset
|
780 adding file changes |
3d4b54a6f346
phase: add a passing test for (issue3575)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
20314
diff
changeset
|
781 added 1 changesets with 1 changes to 1 files (+1 heads) |
3d4b54a6f346
phase: add a passing test for (issue3575)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
20314
diff
changeset
|
782 $ hgph |
3d4b54a6f346
phase: add a passing test for (issue3575)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
20314
diff
changeset
|
783 o 9 public a-H - 967b449fbc94 |
3d4b54a6f346
phase: add a passing test for (issue3575)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
20314
diff
changeset
|
784 | |
3d4b54a6f346
phase: add a passing test for (issue3575)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
20314
diff
changeset
|
785 | o 8 public a-F - b740e3e5c05d |
3d4b54a6f346
phase: add a passing test for (issue3575)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
20314
diff
changeset
|
786 | | |
3d4b54a6f346
phase: add a passing test for (issue3575)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
20314
diff
changeset
|
787 | o 7 public a-E - e9f537e46dea |
3d4b54a6f346
phase: add a passing test for (issue3575)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
20314
diff
changeset
|
788 | | |
3d4b54a6f346
phase: add a passing test for (issue3575)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
20314
diff
changeset
|
789 +---o 6 public n-B - 145e75495359 |
3d4b54a6f346
phase: add a passing test for (issue3575)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
20314
diff
changeset
|
790 | | |
3d4b54a6f346
phase: add a passing test for (issue3575)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
20314
diff
changeset
|
791 o | 5 public n-A - d6bcb4f74035 |
3d4b54a6f346
phase: add a passing test for (issue3575)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
20314
diff
changeset
|
792 | | |
3d4b54a6f346
phase: add a passing test for (issue3575)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
20314
diff
changeset
|
793 | o 4 public a-D - b555f63b6063 |
3d4b54a6f346
phase: add a passing test for (issue3575)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
20314
diff
changeset
|
794 | | |
3d4b54a6f346
phase: add a passing test for (issue3575)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
20314
diff
changeset
|
795 | o 3 public a-C - 54acac6f23ab |
3d4b54a6f346
phase: add a passing test for (issue3575)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
20314
diff
changeset
|
796 | | |
3d4b54a6f346
phase: add a passing test for (issue3575)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
20314
diff
changeset
|
797 o | 2 public b-A - f54f1bb90ff3 |
3d4b54a6f346
phase: add a passing test for (issue3575)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
20314
diff
changeset
|
798 |/ |
3d4b54a6f346
phase: add a passing test for (issue3575)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
20314
diff
changeset
|
799 o 1 public a-B - 548a3d25dbf0 |
3d4b54a6f346
phase: add a passing test for (issue3575)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
20314
diff
changeset
|
800 | |
3d4b54a6f346
phase: add a passing test for (issue3575)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
20314
diff
changeset
|
801 o 0 public a-A - 054250a37db4 |
3d4b54a6f346
phase: add a passing test for (issue3575)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
20314
diff
changeset
|
802 |
3d4b54a6f346
phase: add a passing test for (issue3575)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
20314
diff
changeset
|
803 |
3d4b54a6f346
phase: add a passing test for (issue3575)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
20314
diff
changeset
|
804 $ hg -R ../alpha update 967b449fbc94 #for latter test consistency |
3d4b54a6f346
phase: add a passing test for (issue3575)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
20314
diff
changeset
|
805 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
3d4b54a6f346
phase: add a passing test for (issue3575)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
20314
diff
changeset
|
806 $ hgph -R ../alpha |
3d4b54a6f346
phase: add a passing test for (issue3575)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
20314
diff
changeset
|
807 @ 10 public a-H - 967b449fbc94 |
3d4b54a6f346
phase: add a passing test for (issue3575)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
20314
diff
changeset
|
808 | |
3d4b54a6f346
phase: add a passing test for (issue3575)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
20314
diff
changeset
|
809 | o 9 draft a-G - 3e27b6f1eee1 |
3d4b54a6f346
phase: add a passing test for (issue3575)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
20314
diff
changeset
|
810 | | |
3d4b54a6f346
phase: add a passing test for (issue3575)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
20314
diff
changeset
|
811 | o 8 public a-F - b740e3e5c05d |
3d4b54a6f346
phase: add a passing test for (issue3575)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
20314
diff
changeset
|
812 | | |
3d4b54a6f346
phase: add a passing test for (issue3575)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
20314
diff
changeset
|
813 | o 7 public a-E - e9f537e46dea |
3d4b54a6f346
phase: add a passing test for (issue3575)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
20314
diff
changeset
|
814 | | |
3d4b54a6f346
phase: add a passing test for (issue3575)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
20314
diff
changeset
|
815 +---o 6 public n-B - 145e75495359 |
3d4b54a6f346
phase: add a passing test for (issue3575)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
20314
diff
changeset
|
816 | | |
3d4b54a6f346
phase: add a passing test for (issue3575)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
20314
diff
changeset
|
817 o | 5 public n-A - d6bcb4f74035 |
3d4b54a6f346
phase: add a passing test for (issue3575)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
20314
diff
changeset
|
818 | | |
3d4b54a6f346
phase: add a passing test for (issue3575)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
20314
diff
changeset
|
819 o | 4 public b-A - f54f1bb90ff3 |
3d4b54a6f346
phase: add a passing test for (issue3575)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
20314
diff
changeset
|
820 | | |
3d4b54a6f346
phase: add a passing test for (issue3575)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
20314
diff
changeset
|
821 | o 3 public a-D - b555f63b6063 |
3d4b54a6f346
phase: add a passing test for (issue3575)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
20314
diff
changeset
|
822 | | |
3d4b54a6f346
phase: add a passing test for (issue3575)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
20314
diff
changeset
|
823 | o 2 public a-C - 54acac6f23ab |
3d4b54a6f346
phase: add a passing test for (issue3575)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
20314
diff
changeset
|
824 |/ |
3d4b54a6f346
phase: add a passing test for (issue3575)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
20314
diff
changeset
|
825 o 1 public a-B - 548a3d25dbf0 |
3d4b54a6f346
phase: add a passing test for (issue3575)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
20314
diff
changeset
|
826 | |
3d4b54a6f346
phase: add a passing test for (issue3575)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
20314
diff
changeset
|
827 o 0 public a-A - 054250a37db4 |
3d4b54a6f346
phase: add a passing test for (issue3575)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
20314
diff
changeset
|
828 |
3d4b54a6f346
phase: add a passing test for (issue3575)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
20314
diff
changeset
|
829 |
15713
cff25e4b37d2
phases: do not exchange secret changesets
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15659
diff
changeset
|
830 Discovery locally secret changeset on a remote repository: |
cff25e4b37d2
phases: do not exchange secret changesets
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15659
diff
changeset
|
831 |
cff25e4b37d2
phases: do not exchange secret changesets
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15659
diff
changeset
|
832 - should make it non-secret |
cff25e4b37d2
phases: do not exchange secret changesets
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15659
diff
changeset
|
833 |
cff25e4b37d2
phases: do not exchange secret changesets
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15659
diff
changeset
|
834 $ cd ../alpha |
cff25e4b37d2
phases: do not exchange secret changesets
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15659
diff
changeset
|
835 $ mkcommit A-secret --config phases.new-commit=2 |
cff25e4b37d2
phases: do not exchange secret changesets
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15659
diff
changeset
|
836 $ hgph |
15824
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
837 @ 11 secret A-secret - 435b5d83910c |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
838 | |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
839 o 10 public a-H - 967b449fbc94 |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
840 | |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
841 | o 9 draft a-G - 3e27b6f1eee1 |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
842 | | |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
843 | o 8 public a-F - b740e3e5c05d |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
844 | | |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
845 | o 7 public a-E - e9f537e46dea |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
846 | | |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
847 +---o 6 public n-B - 145e75495359 |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
848 | | |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
849 o | 5 public n-A - d6bcb4f74035 |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
850 | | |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
851 o | 4 public b-A - f54f1bb90ff3 |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
852 | | |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
853 | o 3 public a-D - b555f63b6063 |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
854 | | |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
855 | o 2 public a-C - 54acac6f23ab |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
856 |/ |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
857 o 1 public a-B - 548a3d25dbf0 |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
858 | |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
859 o 0 public a-A - 054250a37db4 |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
860 |
15713
cff25e4b37d2
phases: do not exchange secret changesets
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15659
diff
changeset
|
861 $ hg bundle --base 'parents(.)' -r . ../secret-bundle.hg |
cff25e4b37d2
phases: do not exchange secret changesets
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15659
diff
changeset
|
862 1 changesets found |
cff25e4b37d2
phases: do not exchange secret changesets
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15659
diff
changeset
|
863 $ hg -R ../mu unbundle ../secret-bundle.hg |
cff25e4b37d2
phases: do not exchange secret changesets
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15659
diff
changeset
|
864 adding changesets |
cff25e4b37d2
phases: do not exchange secret changesets
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15659
diff
changeset
|
865 adding manifests |
cff25e4b37d2
phases: do not exchange secret changesets
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15659
diff
changeset
|
866 adding file changes |
cff25e4b37d2
phases: do not exchange secret changesets
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15659
diff
changeset
|
867 added 1 changesets with 1 changes to 1 files |
cff25e4b37d2
phases: do not exchange secret changesets
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15659
diff
changeset
|
868 (run 'hg update' to get a working copy) |
cff25e4b37d2
phases: do not exchange secret changesets
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15659
diff
changeset
|
869 $ hgph -R ../mu |
15824
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
870 o 10 draft A-secret - 435b5d83910c |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
871 | |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
872 o 9 public a-H - 967b449fbc94 |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
873 | |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
874 | o 8 public a-F - b740e3e5c05d |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
875 | | |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
876 | o 7 public a-E - e9f537e46dea |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
877 | | |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
878 +---o 6 public n-B - 145e75495359 |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
879 | | |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
880 o | 5 public n-A - d6bcb4f74035 |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
881 | | |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
882 | o 4 public a-D - b555f63b6063 |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
883 | | |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
884 | o 3 public a-C - 54acac6f23ab |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
885 | | |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
886 o | 2 public b-A - f54f1bb90ff3 |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
887 |/ |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
888 o 1 public a-B - 548a3d25dbf0 |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
889 | |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
890 o 0 public a-A - 054250a37db4 |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
891 |
15713
cff25e4b37d2
phases: do not exchange secret changesets
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15659
diff
changeset
|
892 $ hg pull ../mu |
cff25e4b37d2
phases: do not exchange secret changesets
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15659
diff
changeset
|
893 pulling from ../mu |
cff25e4b37d2
phases: do not exchange secret changesets
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15659
diff
changeset
|
894 searching for changes |
cff25e4b37d2
phases: do not exchange secret changesets
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15659
diff
changeset
|
895 no changes found |
cff25e4b37d2
phases: do not exchange secret changesets
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15659
diff
changeset
|
896 $ hgph |
15824
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
897 @ 11 draft A-secret - 435b5d83910c |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
898 | |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
899 o 10 public a-H - 967b449fbc94 |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
900 | |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
901 | o 9 draft a-G - 3e27b6f1eee1 |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
902 | | |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
903 | o 8 public a-F - b740e3e5c05d |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
904 | | |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
905 | o 7 public a-E - e9f537e46dea |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
906 | | |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
907 +---o 6 public n-B - 145e75495359 |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
908 | | |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
909 o | 5 public n-A - d6bcb4f74035 |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
910 | | |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
911 o | 4 public b-A - f54f1bb90ff3 |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
912 | | |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
913 | o 3 public a-D - b555f63b6063 |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
914 | | |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
915 | o 2 public a-C - 54acac6f23ab |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
916 |/ |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
917 o 1 public a-B - 548a3d25dbf0 |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
918 | |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
919 o 0 public a-A - 054250a37db4 |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
920 |
15889
816209eaf963
phases: make secret changeset undiscoverable in all case
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15824
diff
changeset
|
921 |
21024
7731a2281cf0
spelling: fixes from spell checker
Mads Kiilerich <madski@unity3d.com>
parents:
21010
diff
changeset
|
922 pushing a locally public and draft changesets remotely secret should make them |
16535
39d1f83eb05d
branchmap: server should not advertise secret changeset in branchmap (Issue3303)
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
16195
diff
changeset
|
923 appear on the remote side. |
39d1f83eb05d
branchmap: server should not advertise secret changeset in branchmap (Issue3303)
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
16195
diff
changeset
|
924 |
15891
249d3420ec9c
phases: move phase according what was pushed not only what was added added
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15889
diff
changeset
|
925 $ hg -R ../mu phase --secret --force 967b449fbc94 |
249d3420ec9c
phases: move phase according what was pushed not only what was added added
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15889
diff
changeset
|
926 $ hg push -r 435b5d83910c ../mu |
249d3420ec9c
phases: move phase according what was pushed not only what was added added
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15889
diff
changeset
|
927 pushing to ../mu |
249d3420ec9c
phases: move phase according what was pushed not only what was added added
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15889
diff
changeset
|
928 searching for changes |
16535
39d1f83eb05d
branchmap: server should not advertise secret changeset in branchmap (Issue3303)
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
16195
diff
changeset
|
929 abort: push creates new remote head 435b5d83910c! |
19934
bfc6ed892349
push: hide description about "-f" in the hint to prevent from using it easily
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents:
19116
diff
changeset
|
930 (merge or see "hg help push" for details about pushing new heads) |
16535
39d1f83eb05d
branchmap: server should not advertise secret changeset in branchmap (Issue3303)
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
16195
diff
changeset
|
931 [255] |
39d1f83eb05d
branchmap: server should not advertise secret changeset in branchmap (Issue3303)
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
16195
diff
changeset
|
932 $ hg push -fr 435b5d83910c ../mu # because the push will create new visible head |
39d1f83eb05d
branchmap: server should not advertise secret changeset in branchmap (Issue3303)
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
16195
diff
changeset
|
933 pushing to ../mu |
39d1f83eb05d
branchmap: server should not advertise secret changeset in branchmap (Issue3303)
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
16195
diff
changeset
|
934 searching for changes |
15891
249d3420ec9c
phases: move phase according what was pushed not only what was added added
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15889
diff
changeset
|
935 adding changesets |
249d3420ec9c
phases: move phase according what was pushed not only what was added added
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15889
diff
changeset
|
936 adding manifests |
249d3420ec9c
phases: move phase according what was pushed not only what was added added
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15889
diff
changeset
|
937 adding file changes |
249d3420ec9c
phases: move phase according what was pushed not only what was added added
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15889
diff
changeset
|
938 added 0 changesets with 0 changes to 2 files |
249d3420ec9c
phases: move phase according what was pushed not only what was added added
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15889
diff
changeset
|
939 $ hgph -R ../mu |
249d3420ec9c
phases: move phase according what was pushed not only what was added added
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15889
diff
changeset
|
940 o 10 draft A-secret - 435b5d83910c |
249d3420ec9c
phases: move phase according what was pushed not only what was added added
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15889
diff
changeset
|
941 | |
249d3420ec9c
phases: move phase according what was pushed not only what was added added
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15889
diff
changeset
|
942 o 9 public a-H - 967b449fbc94 |
249d3420ec9c
phases: move phase according what was pushed not only what was added added
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15889
diff
changeset
|
943 | |
249d3420ec9c
phases: move phase according what was pushed not only what was added added
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15889
diff
changeset
|
944 | o 8 public a-F - b740e3e5c05d |
249d3420ec9c
phases: move phase according what was pushed not only what was added added
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15889
diff
changeset
|
945 | | |
249d3420ec9c
phases: move phase according what was pushed not only what was added added
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15889
diff
changeset
|
946 | o 7 public a-E - e9f537e46dea |
249d3420ec9c
phases: move phase according what was pushed not only what was added added
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15889
diff
changeset
|
947 | | |
249d3420ec9c
phases: move phase according what was pushed not only what was added added
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15889
diff
changeset
|
948 +---o 6 public n-B - 145e75495359 |
249d3420ec9c
phases: move phase according what was pushed not only what was added added
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15889
diff
changeset
|
949 | | |
249d3420ec9c
phases: move phase according what was pushed not only what was added added
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15889
diff
changeset
|
950 o | 5 public n-A - d6bcb4f74035 |
249d3420ec9c
phases: move phase according what was pushed not only what was added added
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15889
diff
changeset
|
951 | | |
249d3420ec9c
phases: move phase according what was pushed not only what was added added
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15889
diff
changeset
|
952 | o 4 public a-D - b555f63b6063 |
249d3420ec9c
phases: move phase according what was pushed not only what was added added
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15889
diff
changeset
|
953 | | |
249d3420ec9c
phases: move phase according what was pushed not only what was added added
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15889
diff
changeset
|
954 | o 3 public a-C - 54acac6f23ab |
249d3420ec9c
phases: move phase according what was pushed not only what was added added
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15889
diff
changeset
|
955 | | |
249d3420ec9c
phases: move phase according what was pushed not only what was added added
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15889
diff
changeset
|
956 o | 2 public b-A - f54f1bb90ff3 |
249d3420ec9c
phases: move phase according what was pushed not only what was added added
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15889
diff
changeset
|
957 |/ |
249d3420ec9c
phases: move phase according what was pushed not only what was added added
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15889
diff
changeset
|
958 o 1 public a-B - 548a3d25dbf0 |
249d3420ec9c
phases: move phase according what was pushed not only what was added added
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15889
diff
changeset
|
959 | |
249d3420ec9c
phases: move phase according what was pushed not only what was added added
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15889
diff
changeset
|
960 o 0 public a-A - 054250a37db4 |
249d3420ec9c
phases: move phase according what was pushed not only what was added added
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15889
diff
changeset
|
961 |
249d3420ec9c
phases: move phase according what was pushed not only what was added added
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15889
diff
changeset
|
962 |
15889
816209eaf963
phases: make secret changeset undiscoverable in all case
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15824
diff
changeset
|
963 pull new changeset with common draft locally |
816209eaf963
phases: make secret changeset undiscoverable in all case
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15824
diff
changeset
|
964 |
816209eaf963
phases: make secret changeset undiscoverable in all case
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15824
diff
changeset
|
965 $ hg up -q 967b449fbc94 # create a new root for draft |
816209eaf963
phases: make secret changeset undiscoverable in all case
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15824
diff
changeset
|
966 $ mkcommit 'alpha-more' |
816209eaf963
phases: make secret changeset undiscoverable in all case
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15824
diff
changeset
|
967 created new head |
816209eaf963
phases: make secret changeset undiscoverable in all case
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15824
diff
changeset
|
968 $ hg push -fr . ../mu |
816209eaf963
phases: make secret changeset undiscoverable in all case
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15824
diff
changeset
|
969 pushing to ../mu |
816209eaf963
phases: make secret changeset undiscoverable in all case
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15824
diff
changeset
|
970 searching for changes |
816209eaf963
phases: make secret changeset undiscoverable in all case
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15824
diff
changeset
|
971 adding changesets |
816209eaf963
phases: make secret changeset undiscoverable in all case
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15824
diff
changeset
|
972 adding manifests |
816209eaf963
phases: make secret changeset undiscoverable in all case
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15824
diff
changeset
|
973 adding file changes |
816209eaf963
phases: make secret changeset undiscoverable in all case
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15824
diff
changeset
|
974 added 1 changesets with 1 changes to 1 files (+1 heads) |
816209eaf963
phases: make secret changeset undiscoverable in all case
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15824
diff
changeset
|
975 $ cd ../mu |
816209eaf963
phases: make secret changeset undiscoverable in all case
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15824
diff
changeset
|
976 $ hg phase --secret --force 1c5cfd894796 |
816209eaf963
phases: make secret changeset undiscoverable in all case
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15824
diff
changeset
|
977 $ hg up -q 435b5d83910c |
816209eaf963
phases: make secret changeset undiscoverable in all case
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15824
diff
changeset
|
978 $ mkcommit 'mu-more' |
816209eaf963
phases: make secret changeset undiscoverable in all case
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15824
diff
changeset
|
979 $ cd ../alpha |
816209eaf963
phases: make secret changeset undiscoverable in all case
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15824
diff
changeset
|
980 $ hg pull ../mu |
816209eaf963
phases: make secret changeset undiscoverable in all case
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15824
diff
changeset
|
981 pulling from ../mu |
816209eaf963
phases: make secret changeset undiscoverable in all case
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15824
diff
changeset
|
982 searching for changes |
816209eaf963
phases: make secret changeset undiscoverable in all case
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15824
diff
changeset
|
983 adding changesets |
816209eaf963
phases: make secret changeset undiscoverable in all case
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15824
diff
changeset
|
984 adding manifests |
816209eaf963
phases: make secret changeset undiscoverable in all case
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15824
diff
changeset
|
985 adding file changes |
816209eaf963
phases: make secret changeset undiscoverable in all case
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15824
diff
changeset
|
986 added 1 changesets with 1 changes to 1 files |
816209eaf963
phases: make secret changeset undiscoverable in all case
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15824
diff
changeset
|
987 (run 'hg update' to get a working copy) |
816209eaf963
phases: make secret changeset undiscoverable in all case
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15824
diff
changeset
|
988 $ hgph |
816209eaf963
phases: make secret changeset undiscoverable in all case
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15824
diff
changeset
|
989 o 13 draft mu-more - 5237fb433fc8 |
816209eaf963
phases: make secret changeset undiscoverable in all case
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15824
diff
changeset
|
990 | |
816209eaf963
phases: make secret changeset undiscoverable in all case
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15824
diff
changeset
|
991 | @ 12 draft alpha-more - 1c5cfd894796 |
816209eaf963
phases: make secret changeset undiscoverable in all case
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15824
diff
changeset
|
992 | | |
816209eaf963
phases: make secret changeset undiscoverable in all case
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15824
diff
changeset
|
993 o | 11 draft A-secret - 435b5d83910c |
816209eaf963
phases: make secret changeset undiscoverable in all case
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15824
diff
changeset
|
994 |/ |
816209eaf963
phases: make secret changeset undiscoverable in all case
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15824
diff
changeset
|
995 o 10 public a-H - 967b449fbc94 |
816209eaf963
phases: make secret changeset undiscoverable in all case
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15824
diff
changeset
|
996 | |
816209eaf963
phases: make secret changeset undiscoverable in all case
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15824
diff
changeset
|
997 | o 9 draft a-G - 3e27b6f1eee1 |
816209eaf963
phases: make secret changeset undiscoverable in all case
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15824
diff
changeset
|
998 | | |
816209eaf963
phases: make secret changeset undiscoverable in all case
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15824
diff
changeset
|
999 | o 8 public a-F - b740e3e5c05d |
816209eaf963
phases: make secret changeset undiscoverable in all case
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15824
diff
changeset
|
1000 | | |
816209eaf963
phases: make secret changeset undiscoverable in all case
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15824
diff
changeset
|
1001 | o 7 public a-E - e9f537e46dea |
816209eaf963
phases: make secret changeset undiscoverable in all case
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15824
diff
changeset
|
1002 | | |
816209eaf963
phases: make secret changeset undiscoverable in all case
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15824
diff
changeset
|
1003 +---o 6 public n-B - 145e75495359 |
816209eaf963
phases: make secret changeset undiscoverable in all case
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15824
diff
changeset
|
1004 | | |
816209eaf963
phases: make secret changeset undiscoverable in all case
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15824
diff
changeset
|
1005 o | 5 public n-A - d6bcb4f74035 |
816209eaf963
phases: make secret changeset undiscoverable in all case
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15824
diff
changeset
|
1006 | | |
816209eaf963
phases: make secret changeset undiscoverable in all case
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15824
diff
changeset
|
1007 o | 4 public b-A - f54f1bb90ff3 |
816209eaf963
phases: make secret changeset undiscoverable in all case
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15824
diff
changeset
|
1008 | | |
816209eaf963
phases: make secret changeset undiscoverable in all case
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15824
diff
changeset
|
1009 | o 3 public a-D - b555f63b6063 |
816209eaf963
phases: make secret changeset undiscoverable in all case
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15824
diff
changeset
|
1010 | | |
816209eaf963
phases: make secret changeset undiscoverable in all case
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15824
diff
changeset
|
1011 | o 2 public a-C - 54acac6f23ab |
816209eaf963
phases: make secret changeset undiscoverable in all case
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15824
diff
changeset
|
1012 |/ |
816209eaf963
phases: make secret changeset undiscoverable in all case
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15824
diff
changeset
|
1013 o 1 public a-B - 548a3d25dbf0 |
816209eaf963
phases: make secret changeset undiscoverable in all case
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15824
diff
changeset
|
1014 | |
816209eaf963
phases: make secret changeset undiscoverable in all case
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15824
diff
changeset
|
1015 o 0 public a-A - 054250a37db4 |
816209eaf963
phases: make secret changeset undiscoverable in all case
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15824
diff
changeset
|
1016 |
816209eaf963
phases: make secret changeset undiscoverable in all case
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15824
diff
changeset
|
1017 |
816209eaf963
phases: make secret changeset undiscoverable in all case
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15824
diff
changeset
|
1018 Test that test are properly ignored on remote event when existing locally |
816209eaf963
phases: make secret changeset undiscoverable in all case
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15824
diff
changeset
|
1019 |
15740
62aa9305399d
phases: copy phases data on local clone
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15713
diff
changeset
|
1020 $ cd .. |
15889
816209eaf963
phases: make secret changeset undiscoverable in all case
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15824
diff
changeset
|
1021 $ hg clone -qU -r b555f63b6063 -r f54f1bb90ff3 beta gamma |
816209eaf963
phases: make secret changeset undiscoverable in all case
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15824
diff
changeset
|
1022 |
816209eaf963
phases: make secret changeset undiscoverable in all case
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15824
diff
changeset
|
1023 # pathological case are |
816209eaf963
phases: make secret changeset undiscoverable in all case
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15824
diff
changeset
|
1024 # |
816209eaf963
phases: make secret changeset undiscoverable in all case
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15824
diff
changeset
|
1025 # * secret remotely |
816209eaf963
phases: make secret changeset undiscoverable in all case
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15824
diff
changeset
|
1026 # * known locally |
816209eaf963
phases: make secret changeset undiscoverable in all case
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15824
diff
changeset
|
1027 # * repo have uncommon changeset |
816209eaf963
phases: make secret changeset undiscoverable in all case
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15824
diff
changeset
|
1028 |
816209eaf963
phases: make secret changeset undiscoverable in all case
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15824
diff
changeset
|
1029 $ hg -R beta phase --secret --force f54f1bb90ff3 |
816209eaf963
phases: make secret changeset undiscoverable in all case
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15824
diff
changeset
|
1030 $ hg -R gamma phase --draft --force f54f1bb90ff3 |
816209eaf963
phases: make secret changeset undiscoverable in all case
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15824
diff
changeset
|
1031 |
816209eaf963
phases: make secret changeset undiscoverable in all case
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15824
diff
changeset
|
1032 $ cd gamma |
816209eaf963
phases: make secret changeset undiscoverable in all case
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15824
diff
changeset
|
1033 $ hg pull ../beta |
816209eaf963
phases: make secret changeset undiscoverable in all case
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15824
diff
changeset
|
1034 pulling from ../beta |
816209eaf963
phases: make secret changeset undiscoverable in all case
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15824
diff
changeset
|
1035 searching for changes |
816209eaf963
phases: make secret changeset undiscoverable in all case
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15824
diff
changeset
|
1036 adding changesets |
816209eaf963
phases: make secret changeset undiscoverable in all case
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15824
diff
changeset
|
1037 adding manifests |
816209eaf963
phases: make secret changeset undiscoverable in all case
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15824
diff
changeset
|
1038 adding file changes |
816209eaf963
phases: make secret changeset undiscoverable in all case
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15824
diff
changeset
|
1039 added 2 changesets with 2 changes to 2 files |
816209eaf963
phases: make secret changeset undiscoverable in all case
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15824
diff
changeset
|
1040 (run 'hg update' to get a working copy) |
816209eaf963
phases: make secret changeset undiscoverable in all case
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15824
diff
changeset
|
1041 $ hg phase f54f1bb90ff3 |
816209eaf963
phases: make secret changeset undiscoverable in all case
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15824
diff
changeset
|
1042 2: draft |
816209eaf963
phases: make secret changeset undiscoverable in all case
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15824
diff
changeset
|
1043 |
816209eaf963
phases: make secret changeset undiscoverable in all case
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15824
diff
changeset
|
1044 same over the wire |
816209eaf963
phases: make secret changeset undiscoverable in all case
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15824
diff
changeset
|
1045 |
816209eaf963
phases: make secret changeset undiscoverable in all case
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15824
diff
changeset
|
1046 $ cd ../beta |
816209eaf963
phases: make secret changeset undiscoverable in all case
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15824
diff
changeset
|
1047 $ hg serve -p $HGPORT -d --pid-file=../beta.pid -E ../beta-error.log |
816209eaf963
phases: make secret changeset undiscoverable in all case
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15824
diff
changeset
|
1048 $ cat ../beta.pid >> $DAEMON_PIDS |
816209eaf963
phases: make secret changeset undiscoverable in all case
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15824
diff
changeset
|
1049 $ cd ../gamma |
816209eaf963
phases: make secret changeset undiscoverable in all case
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15824
diff
changeset
|
1050 |
25356
d49328038b38
test: explicitly test wire protocol discovery with bundle1 and bundle2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
25355
diff
changeset
|
1051 $ hg pull http://localhost:$HGPORT/ --config experimental.bundle2-exp=True |
d49328038b38
test: explicitly test wire protocol discovery with bundle1 and bundle2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
25355
diff
changeset
|
1052 pulling from http://localhost:$HGPORT/ |
d49328038b38
test: explicitly test wire protocol discovery with bundle1 and bundle2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
25355
diff
changeset
|
1053 searching for changes |
d49328038b38
test: explicitly test wire protocol discovery with bundle1 and bundle2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
25355
diff
changeset
|
1054 no changes found |
d49328038b38
test: explicitly test wire protocol discovery with bundle1 and bundle2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
25355
diff
changeset
|
1055 $ hg phase f54f1bb90ff3 |
d49328038b38
test: explicitly test wire protocol discovery with bundle1 and bundle2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
25355
diff
changeset
|
1056 2: draft |
d49328038b38
test: explicitly test wire protocol discovery with bundle1 and bundle2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
25355
diff
changeset
|
1057 |
d49328038b38
test: explicitly test wire protocol discovery with bundle1 and bundle2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
25355
diff
changeset
|
1058 enforce bundle1 |
d49328038b38
test: explicitly test wire protocol discovery with bundle1 and bundle2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
25355
diff
changeset
|
1059 |
d49328038b38
test: explicitly test wire protocol discovery with bundle1 and bundle2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
25355
diff
changeset
|
1060 $ hg pull http://localhost:$HGPORT/ --config experimental.bundle2-exp=False |
15889
816209eaf963
phases: make secret changeset undiscoverable in all case
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15824
diff
changeset
|
1061 pulling from http://localhost:$HGPORT/ |
816209eaf963
phases: make secret changeset undiscoverable in all case
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15824
diff
changeset
|
1062 searching for changes |
816209eaf963
phases: make secret changeset undiscoverable in all case
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15824
diff
changeset
|
1063 no changes found |
816209eaf963
phases: make secret changeset undiscoverable in all case
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15824
diff
changeset
|
1064 $ hg phase f54f1bb90ff3 |
816209eaf963
phases: make secret changeset undiscoverable in all case
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15824
diff
changeset
|
1065 2: draft |
816209eaf963
phases: make secret changeset undiscoverable in all case
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15824
diff
changeset
|
1066 |
816209eaf963
phases: make secret changeset undiscoverable in all case
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15824
diff
changeset
|
1067 check that secret local on both side are not synced to public |
816209eaf963
phases: make secret changeset undiscoverable in all case
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15824
diff
changeset
|
1068 |
816209eaf963
phases: make secret changeset undiscoverable in all case
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15824
diff
changeset
|
1069 $ hg push -r b555f63b6063 http://localhost:$HGPORT/ |
816209eaf963
phases: make secret changeset undiscoverable in all case
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15824
diff
changeset
|
1070 pushing to http://localhost:$HGPORT/ |
816209eaf963
phases: make secret changeset undiscoverable in all case
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15824
diff
changeset
|
1071 searching for changes |
816209eaf963
phases: make secret changeset undiscoverable in all case
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15824
diff
changeset
|
1072 no changes found |
16023
90f8b8dd0326
push: return 1 if no changes found (issue3228)
Matt Mackall <mpm@selenic.com>
parents:
16013
diff
changeset
|
1073 [1] |
15889
816209eaf963
phases: make secret changeset undiscoverable in all case
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15824
diff
changeset
|
1074 $ hg phase f54f1bb90ff3 |
816209eaf963
phases: make secret changeset undiscoverable in all case
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15824
diff
changeset
|
1075 2: draft |
816209eaf963
phases: make secret changeset undiscoverable in all case
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15824
diff
changeset
|
1076 |
816209eaf963
phases: make secret changeset undiscoverable in all case
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15824
diff
changeset
|
1077 put the changeset in the draft state again |
816209eaf963
phases: make secret changeset undiscoverable in all case
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15824
diff
changeset
|
1078 (first test after this one expect to be able to copy) |
816209eaf963
phases: make secret changeset undiscoverable in all case
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15824
diff
changeset
|
1079 |
816209eaf963
phases: make secret changeset undiscoverable in all case
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15824
diff
changeset
|
1080 $ cd .. |
816209eaf963
phases: make secret changeset undiscoverable in all case
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15824
diff
changeset
|
1081 |
816209eaf963
phases: make secret changeset undiscoverable in all case
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15824
diff
changeset
|
1082 |
15740
62aa9305399d
phases: copy phases data on local clone
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15713
diff
changeset
|
1083 Test Clone behavior |
15713
cff25e4b37d2
phases: do not exchange secret changesets
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15659
diff
changeset
|
1084 |
15740
62aa9305399d
phases: copy phases data on local clone
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15713
diff
changeset
|
1085 A. Clone without secret changeset |
15713
cff25e4b37d2
phases: do not exchange secret changesets
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15659
diff
changeset
|
1086 |
15740
62aa9305399d
phases: copy phases data on local clone
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15713
diff
changeset
|
1087 1. cloning non-publishing repository |
15889
816209eaf963
phases: make secret changeset undiscoverable in all case
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15824
diff
changeset
|
1088 (Phase should be preserved) |
15740
62aa9305399d
phases: copy phases data on local clone
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15713
diff
changeset
|
1089 |
15889
816209eaf963
phases: make secret changeset undiscoverable in all case
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15824
diff
changeset
|
1090 # make sure there is no secret so we can use a copy clone |
816209eaf963
phases: make secret changeset undiscoverable in all case
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15824
diff
changeset
|
1091 |
816209eaf963
phases: make secret changeset undiscoverable in all case
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15824
diff
changeset
|
1092 $ hg -R mu phase --draft 'secret()' |
15740
62aa9305399d
phases: copy phases data on local clone
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15713
diff
changeset
|
1093 |
62aa9305399d
phases: copy phases data on local clone
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15713
diff
changeset
|
1094 $ hg clone -U mu Tau |
62aa9305399d
phases: copy phases data on local clone
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15713
diff
changeset
|
1095 $ hgph -R Tau |
15889
816209eaf963
phases: make secret changeset undiscoverable in all case
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15824
diff
changeset
|
1096 o 12 draft mu-more - 5237fb433fc8 |
15824
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
1097 | |
15889
816209eaf963
phases: make secret changeset undiscoverable in all case
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15824
diff
changeset
|
1098 | o 11 draft alpha-more - 1c5cfd894796 |
816209eaf963
phases: make secret changeset undiscoverable in all case
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15824
diff
changeset
|
1099 | | |
816209eaf963
phases: make secret changeset undiscoverable in all case
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15824
diff
changeset
|
1100 o | 10 draft A-secret - 435b5d83910c |
816209eaf963
phases: make secret changeset undiscoverable in all case
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15824
diff
changeset
|
1101 |/ |
15824
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
1102 o 9 public a-H - 967b449fbc94 |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
1103 | |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
1104 | o 8 public a-F - b740e3e5c05d |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
1105 | | |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
1106 | o 7 public a-E - e9f537e46dea |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
1107 | | |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
1108 +---o 6 public n-B - 145e75495359 |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
1109 | | |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
1110 o | 5 public n-A - d6bcb4f74035 |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
1111 | | |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
1112 | o 4 public a-D - b555f63b6063 |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
1113 | | |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
1114 | o 3 public a-C - 54acac6f23ab |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
1115 | | |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
1116 o | 2 public b-A - f54f1bb90ff3 |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
1117 |/ |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
1118 o 1 public a-B - 548a3d25dbf0 |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
1119 | |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
1120 o 0 public a-A - 054250a37db4 |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
1121 |
15740
62aa9305399d
phases: copy phases data on local clone
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15713
diff
changeset
|
1122 |
15741
60344b83e442
phases: on copy clone, do not copy phases data if repote is publishing
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15740
diff
changeset
|
1123 2. cloning publishing repository |
60344b83e442
phases: on copy clone, do not copy phases data if repote is publishing
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15740
diff
changeset
|
1124 |
60344b83e442
phases: on copy clone, do not copy phases data if repote is publishing
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15740
diff
changeset
|
1125 (everything should be public) |
60344b83e442
phases: on copy clone, do not copy phases data if repote is publishing
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15740
diff
changeset
|
1126 |
60344b83e442
phases: on copy clone, do not copy phases data if repote is publishing
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15740
diff
changeset
|
1127 $ hg clone -U alpha Upsilon |
60344b83e442
phases: on copy clone, do not copy phases data if repote is publishing
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15740
diff
changeset
|
1128 $ hgph -R Upsilon |
15889
816209eaf963
phases: make secret changeset undiscoverable in all case
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15824
diff
changeset
|
1129 o 13 public mu-more - 5237fb433fc8 |
15824
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
1130 | |
15889
816209eaf963
phases: make secret changeset undiscoverable in all case
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15824
diff
changeset
|
1131 | o 12 public alpha-more - 1c5cfd894796 |
816209eaf963
phases: make secret changeset undiscoverable in all case
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15824
diff
changeset
|
1132 | | |
816209eaf963
phases: make secret changeset undiscoverable in all case
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15824
diff
changeset
|
1133 o | 11 public A-secret - 435b5d83910c |
816209eaf963
phases: make secret changeset undiscoverable in all case
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15824
diff
changeset
|
1134 |/ |
15824
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
1135 o 10 public a-H - 967b449fbc94 |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
1136 | |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
1137 | o 9 public a-G - 3e27b6f1eee1 |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
1138 | | |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
1139 | o 8 public a-F - b740e3e5c05d |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
1140 | | |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
1141 | o 7 public a-E - e9f537e46dea |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
1142 | | |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
1143 +---o 6 public n-B - 145e75495359 |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
1144 | | |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
1145 o | 5 public n-A - d6bcb4f74035 |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
1146 | | |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
1147 o | 4 public b-A - f54f1bb90ff3 |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
1148 | | |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
1149 | o 3 public a-D - b555f63b6063 |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
1150 | | |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
1151 | o 2 public a-C - 54acac6f23ab |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
1152 |/ |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
1153 o 1 public a-B - 548a3d25dbf0 |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
1154 | |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
1155 o 0 public a-A - 054250a37db4 |
94a4748db392
phases: use graph and phase name in exchange test
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15823
diff
changeset
|
1156 |
20008
e54a078153f7
tests: skip tests that require not having root (issue4089)
Matt Mackall <mpm@selenic.com>
parents:
19934
diff
changeset
|
1157 #if unix-permissions no-root |
19097
3f5e75c22585
push: make locking of source optional (issue3684)
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
17565
diff
changeset
|
1158 |
3f5e75c22585
push: make locking of source optional (issue3684)
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
17565
diff
changeset
|
1159 Pushing From an unlockable repo |
3f5e75c22585
push: make locking of source optional (issue3684)
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
17565
diff
changeset
|
1160 -------------------------------- |
3f5e75c22585
push: make locking of source optional (issue3684)
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
17565
diff
changeset
|
1161 (issue3684) |
3f5e75c22585
push: make locking of source optional (issue3684)
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
17565
diff
changeset
|
1162 |
3f5e75c22585
push: make locking of source optional (issue3684)
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
17565
diff
changeset
|
1163 Unability to lock the source repo should not prevent the push. It will prevent |
3f5e75c22585
push: make locking of source optional (issue3684)
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
17565
diff
changeset
|
1164 the retrieval of remote phase during push. For example, pushing to a publishing |
3f5e75c22585
push: make locking of source optional (issue3684)
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
17565
diff
changeset
|
1165 server won't turn changeset public. |
3f5e75c22585
push: make locking of source optional (issue3684)
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
17565
diff
changeset
|
1166 |
3f5e75c22585
push: make locking of source optional (issue3684)
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
17565
diff
changeset
|
1167 1. Test that push is not prevented |
3f5e75c22585
push: make locking of source optional (issue3684)
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
17565
diff
changeset
|
1168 |
3f5e75c22585
push: make locking of source optional (issue3684)
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
17565
diff
changeset
|
1169 $ hg init Phi |
3f5e75c22585
push: make locking of source optional (issue3684)
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
17565
diff
changeset
|
1170 $ cd Upsilon |
3f5e75c22585
push: make locking of source optional (issue3684)
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
17565
diff
changeset
|
1171 $ chmod -R -w .hg |
3f5e75c22585
push: make locking of source optional (issue3684)
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
17565
diff
changeset
|
1172 $ hg push ../Phi |
3f5e75c22585
push: make locking of source optional (issue3684)
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
17565
diff
changeset
|
1173 pushing to ../Phi |
3f5e75c22585
push: make locking of source optional (issue3684)
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
17565
diff
changeset
|
1174 searching for changes |
3f5e75c22585
push: make locking of source optional (issue3684)
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
17565
diff
changeset
|
1175 adding changesets |
3f5e75c22585
push: make locking of source optional (issue3684)
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
17565
diff
changeset
|
1176 adding manifests |
3f5e75c22585
push: make locking of source optional (issue3684)
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
17565
diff
changeset
|
1177 adding file changes |
3f5e75c22585
push: make locking of source optional (issue3684)
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
17565
diff
changeset
|
1178 added 14 changesets with 14 changes to 14 files (+3 heads) |
3f5e75c22585
push: make locking of source optional (issue3684)
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
17565
diff
changeset
|
1179 $ chmod -R +w .hg |
3f5e75c22585
push: make locking of source optional (issue3684)
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
17565
diff
changeset
|
1180 |
3f5e75c22585
push: make locking of source optional (issue3684)
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
17565
diff
changeset
|
1181 2. Test that failed phases movement are reported |
3f5e75c22585
push: make locking of source optional (issue3684)
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
17565
diff
changeset
|
1182 |
3f5e75c22585
push: make locking of source optional (issue3684)
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
17565
diff
changeset
|
1183 $ hg phase --force --draft 3 |
3f5e75c22585
push: make locking of source optional (issue3684)
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
17565
diff
changeset
|
1184 $ chmod -R -w .hg |
3f5e75c22585
push: make locking of source optional (issue3684)
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
17565
diff
changeset
|
1185 $ hg push ../Phi |
3f5e75c22585
push: make locking of source optional (issue3684)
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
17565
diff
changeset
|
1186 pushing to ../Phi |
3f5e75c22585
push: make locking of source optional (issue3684)
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
17565
diff
changeset
|
1187 searching for changes |
3f5e75c22585
push: make locking of source optional (issue3684)
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
17565
diff
changeset
|
1188 no changes found |
3f5e75c22585
push: make locking of source optional (issue3684)
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
17565
diff
changeset
|
1189 cannot lock source repo, skipping local public phase update |
3f5e75c22585
push: make locking of source optional (issue3684)
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
17565
diff
changeset
|
1190 [1] |
3f5e75c22585
push: make locking of source optional (issue3684)
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
17565
diff
changeset
|
1191 $ chmod -R +w .hg |
3f5e75c22585
push: make locking of source optional (issue3684)
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
17565
diff
changeset
|
1192 $ hgph Upsilon |
3f5e75c22585
push: make locking of source optional (issue3684)
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
17565
diff
changeset
|
1193 |
3f5e75c22585
push: make locking of source optional (issue3684)
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
17565
diff
changeset
|
1194 $ cd .. |
3f5e75c22585
push: make locking of source optional (issue3684)
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
17565
diff
changeset
|
1195 |
25474
8c14f87bd0ae
tests: drop DAEMON_PIDS from killdaemons calls
Matt Mackall <mpm@selenic.com>
parents:
25472
diff
changeset
|
1196 $ killdaemons.py |
15889
816209eaf963
phases: make secret changeset undiscoverable in all case
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
15824
diff
changeset
|
1197 |
19116
dfb514836b78
tests: skip permissions tests in test-phases-exchange when fs lacks permissions
Brendan Cully <brendan@kublai.com>
parents:
19097
diff
changeset
|
1198 #endif |