##// END OF EJS Templates
test: use bundle2 for exchange in test-bookmark-pushpull...
Pierre-Yves David -
r25352:ddf99471 default
parent child Browse files
Show More
@@ -1,723 +1,729 b''
1 #require serve
1 #require serve
2
2
3 $ cat << EOF >> $HGRCPATH
3 $ cat << EOF >> $HGRCPATH
4 > [ui]
4 > [ui]
5 > logtemplate={rev}:{node|short} {desc|firstline}
5 > logtemplate={rev}:{node|short} {desc|firstline}
6 > [phases]
6 > [phases]
7 > publish=False
7 > publish=False
8 > [experimental]
8 > [experimental]
9 > evolution=createmarkers,exchange
9 > evolution=createmarkers,exchange
10 > # drop me once bundle2 is the default,
11 > # added to get test change early.
12 > bundle2-exp = True
10 > EOF
13 > EOF
11
14
12 initialize
15 initialize
13
16
14 $ hg init a
17 $ hg init a
15 $ cd a
18 $ cd a
16 $ echo 'test' > test
19 $ echo 'test' > test
17 $ hg commit -Am'test'
20 $ hg commit -Am'test'
18 adding test
21 adding test
19
22
20 set bookmarks
23 set bookmarks
21
24
22 $ hg bookmark X
25 $ hg bookmark X
23 $ hg bookmark Y
26 $ hg bookmark Y
24 $ hg bookmark Z
27 $ hg bookmark Z
25
28
26 import bookmark by name
29 import bookmark by name
27
30
28 $ hg init ../b
31 $ hg init ../b
29 $ cd ../b
32 $ cd ../b
30 $ hg book Y
33 $ hg book Y
31 $ hg book
34 $ hg book
32 * Y -1:000000000000
35 * Y -1:000000000000
33 $ hg pull ../a
36 $ hg pull ../a
34 pulling from ../a
37 pulling from ../a
35 requesting all changes
38 requesting all changes
36 adding changesets
39 adding changesets
37 adding manifests
40 adding manifests
38 adding file changes
41 adding file changes
39 added 1 changesets with 1 changes to 1 files
42 added 1 changesets with 1 changes to 1 files
40 adding remote bookmark X
43 adding remote bookmark X
41 updating bookmark Y
44 updating bookmark Y
42 adding remote bookmark Z
45 adding remote bookmark Z
43 (run 'hg update' to get a working copy)
46 (run 'hg update' to get a working copy)
44 $ hg bookmarks
47 $ hg bookmarks
45 X 0:4e3505fd9583
48 X 0:4e3505fd9583
46 * Y 0:4e3505fd9583
49 * Y 0:4e3505fd9583
47 Z 0:4e3505fd9583
50 Z 0:4e3505fd9583
48 $ hg debugpushkey ../a namespaces
51 $ hg debugpushkey ../a namespaces
49 bookmarks
52 bookmarks
50 namespaces
53 namespaces
51 obsolete
54 obsolete
52 phases
55 phases
53 $ hg debugpushkey ../a bookmarks
56 $ hg debugpushkey ../a bookmarks
54 X 4e3505fd95835d721066b76e75dbb8cc554d7f77
57 X 4e3505fd95835d721066b76e75dbb8cc554d7f77
55 Y 4e3505fd95835d721066b76e75dbb8cc554d7f77
58 Y 4e3505fd95835d721066b76e75dbb8cc554d7f77
56 Z 4e3505fd95835d721066b76e75dbb8cc554d7f77
59 Z 4e3505fd95835d721066b76e75dbb8cc554d7f77
57
60
58 delete the bookmark to re-pull it
61 delete the bookmark to re-pull it
59
62
60 $ hg book -d X
63 $ hg book -d X
61 $ hg pull -B X ../a
64 $ hg pull -B X ../a
62 pulling from ../a
65 pulling from ../a
63 no changes found
66 no changes found
64 adding remote bookmark X
67 adding remote bookmark X
65
68
66 finally no-op pull
69 finally no-op pull
67
70
68 $ hg pull -B X ../a
71 $ hg pull -B X ../a
69 pulling from ../a
72 pulling from ../a
70 no changes found
73 no changes found
71 $ hg bookmark
74 $ hg bookmark
72 X 0:4e3505fd9583
75 X 0:4e3505fd9583
73 * Y 0:4e3505fd9583
76 * Y 0:4e3505fd9583
74 Z 0:4e3505fd9583
77 Z 0:4e3505fd9583
75
78
76 export bookmark by name
79 export bookmark by name
77
80
78 $ hg bookmark W
81 $ hg bookmark W
79 $ hg bookmark foo
82 $ hg bookmark foo
80 $ hg bookmark foobar
83 $ hg bookmark foobar
81 $ hg push -B W ../a
84 $ hg push -B W ../a
82 pushing to ../a
85 pushing to ../a
83 searching for changes
86 searching for changes
84 no changes found
87 no changes found
85 exporting bookmark W
88 exporting bookmark W
86 [1]
89 [1]
87 $ hg -R ../a bookmarks
90 $ hg -R ../a bookmarks
88 W -1:000000000000
91 W -1:000000000000
89 X 0:4e3505fd9583
92 X 0:4e3505fd9583
90 Y 0:4e3505fd9583
93 Y 0:4e3505fd9583
91 * Z 0:4e3505fd9583
94 * Z 0:4e3505fd9583
92
95
93 delete a remote bookmark
96 delete a remote bookmark
94
97
95 $ hg book -d W
98 $ hg book -d W
96 $ hg push -B W ../a
99 $ hg push -B W ../a
97 pushing to ../a
100 pushing to ../a
98 searching for changes
101 searching for changes
99 no changes found
102 no changes found
100 deleting remote bookmark W
103 deleting remote bookmark W
101 [1]
104 [1]
102
105
103 push/pull name that doesn't exist
106 push/pull name that doesn't exist
104
107
105 $ hg push -B badname ../a
108 $ hg push -B badname ../a
106 pushing to ../a
109 pushing to ../a
107 searching for changes
110 searching for changes
108 bookmark badname does not exist on the local or remote repository!
111 bookmark badname does not exist on the local or remote repository!
109 no changes found
112 no changes found
110 [2]
113 [2]
111 $ hg pull -B anotherbadname ../a
114 $ hg pull -B anotherbadname ../a
112 pulling from ../a
115 pulling from ../a
113 abort: remote bookmark anotherbadname not found!
116 abort: remote bookmark anotherbadname not found!
114 [255]
117 [255]
115
118
116 divergent bookmarks
119 divergent bookmarks
117
120
118 $ cd ../a
121 $ cd ../a
119 $ echo c1 > f1
122 $ echo c1 > f1
120 $ hg ci -Am1
123 $ hg ci -Am1
121 adding f1
124 adding f1
122 $ hg book -f @
125 $ hg book -f @
123 $ hg book -f X
126 $ hg book -f X
124 $ hg book
127 $ hg book
125 @ 1:0d2164f0ce0d
128 @ 1:0d2164f0ce0d
126 * X 1:0d2164f0ce0d
129 * X 1:0d2164f0ce0d
127 Y 0:4e3505fd9583
130 Y 0:4e3505fd9583
128 Z 1:0d2164f0ce0d
131 Z 1:0d2164f0ce0d
129
132
130 $ cd ../b
133 $ cd ../b
131 $ hg up
134 $ hg up
132 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
135 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
133 updating bookmark foobar
136 updating bookmark foobar
134 $ echo c2 > f2
137 $ echo c2 > f2
135 $ hg ci -Am2
138 $ hg ci -Am2
136 adding f2
139 adding f2
137 $ hg book -if @
140 $ hg book -if @
138 $ hg book -if X
141 $ hg book -if X
139 $ hg book
142 $ hg book
140 @ 1:9b140be10808
143 @ 1:9b140be10808
141 X 1:9b140be10808
144 X 1:9b140be10808
142 Y 0:4e3505fd9583
145 Y 0:4e3505fd9583
143 Z 0:4e3505fd9583
146 Z 0:4e3505fd9583
144 foo -1:000000000000
147 foo -1:000000000000
145 * foobar 1:9b140be10808
148 * foobar 1:9b140be10808
146
149
147 $ hg pull --config paths.foo=../a foo
150 $ hg pull --config paths.foo=../a foo
148 pulling from $TESTTMP/a (glob)
151 pulling from $TESTTMP/a (glob)
149 searching for changes
152 searching for changes
150 adding changesets
153 adding changesets
151 adding manifests
154 adding manifests
152 adding file changes
155 adding file changes
153 added 1 changesets with 1 changes to 1 files (+1 heads)
156 added 1 changesets with 1 changes to 1 files (+1 heads)
154 divergent bookmark @ stored as @foo
157 divergent bookmark @ stored as @foo
155 divergent bookmark X stored as X@foo
158 divergent bookmark X stored as X@foo
156 updating bookmark Z
159 updating bookmark Z
157 (run 'hg heads' to see heads, 'hg merge' to merge)
160 (run 'hg heads' to see heads, 'hg merge' to merge)
158 $ hg book
161 $ hg book
159 @ 1:9b140be10808
162 @ 1:9b140be10808
160 @foo 2:0d2164f0ce0d
163 @foo 2:0d2164f0ce0d
161 X 1:9b140be10808
164 X 1:9b140be10808
162 X@foo 2:0d2164f0ce0d
165 X@foo 2:0d2164f0ce0d
163 Y 0:4e3505fd9583
166 Y 0:4e3505fd9583
164 Z 2:0d2164f0ce0d
167 Z 2:0d2164f0ce0d
165 foo -1:000000000000
168 foo -1:000000000000
166 * foobar 1:9b140be10808
169 * foobar 1:9b140be10808
167
170
168 (test that too many divergence of bookmark)
171 (test that too many divergence of bookmark)
169
172
170 $ python $TESTDIR/seq.py 1 100 | while read i; do hg bookmarks -r 000000000000 "X@${i}"; done
173 $ python $TESTDIR/seq.py 1 100 | while read i; do hg bookmarks -r 000000000000 "X@${i}"; done
171 $ hg pull ../a
174 $ hg pull ../a
172 pulling from ../a
175 pulling from ../a
173 searching for changes
176 searching for changes
174 no changes found
177 no changes found
175 warning: failed to assign numbered name to divergent bookmark X
178 warning: failed to assign numbered name to divergent bookmark X
176 divergent bookmark @ stored as @1
179 divergent bookmark @ stored as @1
177 $ hg bookmarks | grep '^ X' | grep -v ':000000000000'
180 $ hg bookmarks | grep '^ X' | grep -v ':000000000000'
178 X 1:9b140be10808
181 X 1:9b140be10808
179 X@foo 2:0d2164f0ce0d
182 X@foo 2:0d2164f0ce0d
180
183
181 (test that remotely diverged bookmarks are reused if they aren't changed)
184 (test that remotely diverged bookmarks are reused if they aren't changed)
182
185
183 $ hg bookmarks | grep '^ @'
186 $ hg bookmarks | grep '^ @'
184 @ 1:9b140be10808
187 @ 1:9b140be10808
185 @1 2:0d2164f0ce0d
188 @1 2:0d2164f0ce0d
186 @foo 2:0d2164f0ce0d
189 @foo 2:0d2164f0ce0d
187 $ hg pull ../a
190 $ hg pull ../a
188 pulling from ../a
191 pulling from ../a
189 searching for changes
192 searching for changes
190 no changes found
193 no changes found
191 warning: failed to assign numbered name to divergent bookmark X
194 warning: failed to assign numbered name to divergent bookmark X
192 divergent bookmark @ stored as @1
195 divergent bookmark @ stored as @1
193 $ hg bookmarks | grep '^ @'
196 $ hg bookmarks | grep '^ @'
194 @ 1:9b140be10808
197 @ 1:9b140be10808
195 @1 2:0d2164f0ce0d
198 @1 2:0d2164f0ce0d
196 @foo 2:0d2164f0ce0d
199 @foo 2:0d2164f0ce0d
197
200
198 $ python $TESTDIR/seq.py 1 100 | while read i; do hg bookmarks -d "X@${i}"; done
201 $ python $TESTDIR/seq.py 1 100 | while read i; do hg bookmarks -d "X@${i}"; done
199 $ hg bookmarks -d "@1"
202 $ hg bookmarks -d "@1"
200
203
201 $ hg push -f ../a
204 $ hg push -f ../a
202 pushing to ../a
205 pushing to ../a
203 searching for changes
206 searching for changes
204 adding changesets
207 adding changesets
205 adding manifests
208 adding manifests
206 adding file changes
209 adding file changes
207 added 1 changesets with 1 changes to 1 files (+1 heads)
210 added 1 changesets with 1 changes to 1 files (+1 heads)
208 $ hg -R ../a book
211 $ hg -R ../a book
209 @ 1:0d2164f0ce0d
212 @ 1:0d2164f0ce0d
210 * X 1:0d2164f0ce0d
213 * X 1:0d2164f0ce0d
211 Y 0:4e3505fd9583
214 Y 0:4e3505fd9583
212 Z 1:0d2164f0ce0d
215 Z 1:0d2164f0ce0d
213
216
214 explicit pull should overwrite the local version (issue4439)
217 explicit pull should overwrite the local version (issue4439)
215
218
216 $ hg pull --config paths.foo=../a foo -B X
219 $ hg pull --config paths.foo=../a foo -B X
217 pulling from $TESTTMP/a (glob)
220 pulling from $TESTTMP/a (glob)
218 no changes found
221 no changes found
219 divergent bookmark @ stored as @foo
222 divergent bookmark @ stored as @foo
220 importing bookmark X
223 importing bookmark X
221
224
222 reinstall state for further testing:
225 reinstall state for further testing:
223
226
224 $ hg book -fr 9b140be10808 X
227 $ hg book -fr 9b140be10808 X
225
228
226 revsets should not ignore divergent bookmarks
229 revsets should not ignore divergent bookmarks
227
230
228 $ hg bookmark -fr 1 Z
231 $ hg bookmark -fr 1 Z
229 $ hg log -r 'bookmark()' --template '{rev}:{node|short} {bookmarks}\n'
232 $ hg log -r 'bookmark()' --template '{rev}:{node|short} {bookmarks}\n'
230 0:4e3505fd9583 Y
233 0:4e3505fd9583 Y
231 1:9b140be10808 @ X Z foobar
234 1:9b140be10808 @ X Z foobar
232 2:0d2164f0ce0d @foo X@foo
235 2:0d2164f0ce0d @foo X@foo
233 $ hg log -r 'bookmark("X@foo")' --template '{rev}:{node|short} {bookmarks}\n'
236 $ hg log -r 'bookmark("X@foo")' --template '{rev}:{node|short} {bookmarks}\n'
234 2:0d2164f0ce0d @foo X@foo
237 2:0d2164f0ce0d @foo X@foo
235 $ hg log -r 'bookmark("re:X@foo")' --template '{rev}:{node|short} {bookmarks}\n'
238 $ hg log -r 'bookmark("re:X@foo")' --template '{rev}:{node|short} {bookmarks}\n'
236 2:0d2164f0ce0d @foo X@foo
239 2:0d2164f0ce0d @foo X@foo
237
240
238 update a remote bookmark from a non-head to a head
241 update a remote bookmark from a non-head to a head
239
242
240 $ hg up -q Y
243 $ hg up -q Y
241 $ echo c3 > f2
244 $ echo c3 > f2
242 $ hg ci -Am3
245 $ hg ci -Am3
243 adding f2
246 adding f2
244 created new head
247 created new head
245 $ hg push ../a
248 $ hg push ../a
246 pushing to ../a
249 pushing to ../a
247 searching for changes
250 searching for changes
248 adding changesets
251 adding changesets
249 adding manifests
252 adding manifests
250 adding file changes
253 adding file changes
251 added 1 changesets with 1 changes to 1 files (+1 heads)
254 added 1 changesets with 1 changes to 1 files (+1 heads)
252 updating bookmark Y
255 updating bookmark Y
253 $ hg -R ../a book
256 $ hg -R ../a book
254 @ 1:0d2164f0ce0d
257 @ 1:0d2164f0ce0d
255 * X 1:0d2164f0ce0d
258 * X 1:0d2164f0ce0d
256 Y 3:f6fc62dde3c0
259 Y 3:f6fc62dde3c0
257 Z 1:0d2164f0ce0d
260 Z 1:0d2164f0ce0d
258
261
259 update a bookmark in the middle of a client pulling changes
262 update a bookmark in the middle of a client pulling changes
260
263
261 $ cd ..
264 $ cd ..
262 $ hg clone -q a pull-race
265 $ hg clone -q a pull-race
263 $ hg clone -q pull-race pull-race2
266 $ hg clone -q pull-race pull-race2
264 $ cd pull-race
267 $ cd pull-race
265 $ hg up -q Y
268 $ hg up -q Y
266 $ echo c4 > f2
269 $ echo c4 > f2
267 $ hg ci -Am4
270 $ hg ci -Am4
268 $ echo c5 > f3
271 $ echo c5 > f3
269 $ cat <<EOF > .hg/hgrc
272 $ cat <<EOF > .hg/hgrc
270 > [hooks]
273 > [hooks]
271 > outgoing.makecommit = hg ci -Am5; echo committed in pull-race
274 > outgoing.makecommit = hg ci -Am5; echo committed in pull-race
272 > EOF
275 > EOF
273 $ cd ../pull-race2
276 $ cd ../pull-race2
274 $ hg pull
277 $ hg pull
275 pulling from $TESTTMP/pull-race (glob)
278 pulling from $TESTTMP/pull-race (glob)
276 searching for changes
279 searching for changes
277 adding changesets
278 adding f3
280 adding f3
279 committed in pull-race
281 committed in pull-race
282 adding changesets
280 adding manifests
283 adding manifests
281 adding file changes
284 adding file changes
282 added 1 changesets with 1 changes to 1 files
285 added 1 changesets with 1 changes to 1 files
283 updating bookmark Y
286 updating bookmark Y
284 (run 'hg update' to get a working copy)
287 (run 'hg update' to get a working copy)
285 $ hg book
288 $ hg book
286 * @ 1:0d2164f0ce0d
289 * @ 1:0d2164f0ce0d
287 X 1:0d2164f0ce0d
290 X 1:0d2164f0ce0d
288 Y 4:b0a5eff05604
291 Y 4:b0a5eff05604
289 Z 1:0d2164f0ce0d
292 Z 1:0d2164f0ce0d
290 $ cd ../b
293 $ cd ../b
291
294
292 diverging a remote bookmark fails
295 diverging a remote bookmark fails
293
296
294 $ hg up -q 4e3505fd9583
297 $ hg up -q 4e3505fd9583
295 $ echo c4 > f2
298 $ echo c4 > f2
296 $ hg ci -Am4
299 $ hg ci -Am4
297 adding f2
300 adding f2
298 created new head
301 created new head
299 $ echo c5 > f2
302 $ echo c5 > f2
300 $ hg ci -Am5
303 $ hg ci -Am5
301 $ hg log -G
304 $ hg log -G
302 @ 5:c922c0139ca0 5
305 @ 5:c922c0139ca0 5
303 |
306 |
304 o 4:4efff6d98829 4
307 o 4:4efff6d98829 4
305 |
308 |
306 | o 3:f6fc62dde3c0 3
309 | o 3:f6fc62dde3c0 3
307 |/
310 |/
308 | o 2:0d2164f0ce0d 1
311 | o 2:0d2164f0ce0d 1
309 |/
312 |/
310 | o 1:9b140be10808 2
313 | o 1:9b140be10808 2
311 |/
314 |/
312 o 0:4e3505fd9583 test
315 o 0:4e3505fd9583 test
313
316
314
317
315 $ hg book -f Y
318 $ hg book -f Y
316
319
317 $ cat <<EOF > ../a/.hg/hgrc
320 $ cat <<EOF > ../a/.hg/hgrc
318 > [web]
321 > [web]
319 > push_ssl = false
322 > push_ssl = false
320 > allow_push = *
323 > allow_push = *
321 > EOF
324 > EOF
322
325
323 $ hg -R ../a serve -p $HGPORT2 -d --pid-file=../hg2.pid
326 $ hg -R ../a serve -p $HGPORT2 -d --pid-file=../hg2.pid
324 $ cat ../hg2.pid >> $DAEMON_PIDS
327 $ cat ../hg2.pid >> $DAEMON_PIDS
325
328
326 $ hg push http://localhost:$HGPORT2/
329 $ hg push http://localhost:$HGPORT2/
327 pushing to http://localhost:$HGPORT2/
330 pushing to http://localhost:$HGPORT2/
328 searching for changes
331 searching for changes
329 abort: push creates new remote head c922c0139ca0 with bookmark 'Y'!
332 abort: push creates new remote head c922c0139ca0 with bookmark 'Y'!
330 (merge or see "hg help push" for details about pushing new heads)
333 (merge or see "hg help push" for details about pushing new heads)
331 [255]
334 [255]
332 $ hg -R ../a book
335 $ hg -R ../a book
333 @ 1:0d2164f0ce0d
336 @ 1:0d2164f0ce0d
334 * X 1:0d2164f0ce0d
337 * X 1:0d2164f0ce0d
335 Y 3:f6fc62dde3c0
338 Y 3:f6fc62dde3c0
336 Z 1:0d2164f0ce0d
339 Z 1:0d2164f0ce0d
337
340
338
341
339 Unrelated marker does not alter the decision
342 Unrelated marker does not alter the decision
340
343
341 $ hg debugobsolete aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
344 $ hg debugobsolete aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
342 $ hg push http://localhost:$HGPORT2/
345 $ hg push http://localhost:$HGPORT2/
343 pushing to http://localhost:$HGPORT2/
346 pushing to http://localhost:$HGPORT2/
344 searching for changes
347 searching for changes
345 abort: push creates new remote head c922c0139ca0 with bookmark 'Y'!
348 abort: push creates new remote head c922c0139ca0 with bookmark 'Y'!
346 (merge or see "hg help push" for details about pushing new heads)
349 (merge or see "hg help push" for details about pushing new heads)
347 [255]
350 [255]
348 $ hg -R ../a book
351 $ hg -R ../a book
349 @ 1:0d2164f0ce0d
352 @ 1:0d2164f0ce0d
350 * X 1:0d2164f0ce0d
353 * X 1:0d2164f0ce0d
351 Y 3:f6fc62dde3c0
354 Y 3:f6fc62dde3c0
352 Z 1:0d2164f0ce0d
355 Z 1:0d2164f0ce0d
353
356
354 Update to a successor works
357 Update to a successor works
355
358
356 $ hg id --debug -r 3
359 $ hg id --debug -r 3
357 f6fc62dde3c0771e29704af56ba4d8af77abcc2f
360 f6fc62dde3c0771e29704af56ba4d8af77abcc2f
358 $ hg id --debug -r 4
361 $ hg id --debug -r 4
359 4efff6d98829d9c824c621afd6e3f01865f5439f
362 4efff6d98829d9c824c621afd6e3f01865f5439f
360 $ hg id --debug -r 5
363 $ hg id --debug -r 5
361 c922c0139ca03858f655e4a2af4dd02796a63969 tip Y
364 c922c0139ca03858f655e4a2af4dd02796a63969 tip Y
362 $ hg debugobsolete f6fc62dde3c0771e29704af56ba4d8af77abcc2f cccccccccccccccccccccccccccccccccccccccc
365 $ hg debugobsolete f6fc62dde3c0771e29704af56ba4d8af77abcc2f cccccccccccccccccccccccccccccccccccccccc
363 $ hg debugobsolete cccccccccccccccccccccccccccccccccccccccc 4efff6d98829d9c824c621afd6e3f01865f5439f
366 $ hg debugobsolete cccccccccccccccccccccccccccccccccccccccc 4efff6d98829d9c824c621afd6e3f01865f5439f
364 $ hg push http://localhost:$HGPORT2/
367 $ hg push http://localhost:$HGPORT2/
365 pushing to http://localhost:$HGPORT2/
368 pushing to http://localhost:$HGPORT2/
366 searching for changes
369 searching for changes
367 remote: adding changesets
370 remote: adding changesets
368 remote: adding manifests
371 remote: adding manifests
369 remote: adding file changes
372 remote: adding file changes
370 remote: added 2 changesets with 2 changes to 1 files (+1 heads)
373 remote: added 2 changesets with 2 changes to 1 files (+1 heads)
374 remote: 2 new obsolescence markers
371 updating bookmark Y
375 updating bookmark Y
372 $ hg -R ../a book
376 $ hg -R ../a book
373 @ 1:0d2164f0ce0d
377 @ 1:0d2164f0ce0d
374 * X 1:0d2164f0ce0d
378 * X 1:0d2164f0ce0d
375 Y 5:c922c0139ca0
379 Y 5:c922c0139ca0
376 Z 1:0d2164f0ce0d
380 Z 1:0d2164f0ce0d
377
381
378 hgweb
382 hgweb
379
383
380 $ cat <<EOF > .hg/hgrc
384 $ cat <<EOF > .hg/hgrc
381 > [web]
385 > [web]
382 > push_ssl = false
386 > push_ssl = false
383 > allow_push = *
387 > allow_push = *
384 > EOF
388 > EOF
385
389
386 $ hg serve -p $HGPORT -d --pid-file=../hg.pid -E errors.log
390 $ hg serve -p $HGPORT -d --pid-file=../hg.pid -E errors.log
387 $ cat ../hg.pid >> $DAEMON_PIDS
391 $ cat ../hg.pid >> $DAEMON_PIDS
388 $ cd ../a
392 $ cd ../a
389
393
390 $ hg debugpushkey http://localhost:$HGPORT/ namespaces
394 $ hg debugpushkey http://localhost:$HGPORT/ namespaces
391 bookmarks
395 bookmarks
392 namespaces
396 namespaces
393 obsolete
397 obsolete
394 phases
398 phases
395 $ hg debugpushkey http://localhost:$HGPORT/ bookmarks
399 $ hg debugpushkey http://localhost:$HGPORT/ bookmarks
396 @ 9b140be1080824d768c5a4691a564088eede71f9
400 @ 9b140be1080824d768c5a4691a564088eede71f9
397 X 9b140be1080824d768c5a4691a564088eede71f9
401 X 9b140be1080824d768c5a4691a564088eede71f9
398 Y c922c0139ca03858f655e4a2af4dd02796a63969
402 Y c922c0139ca03858f655e4a2af4dd02796a63969
399 Z 9b140be1080824d768c5a4691a564088eede71f9
403 Z 9b140be1080824d768c5a4691a564088eede71f9
400 foo 0000000000000000000000000000000000000000
404 foo 0000000000000000000000000000000000000000
401 foobar 9b140be1080824d768c5a4691a564088eede71f9
405 foobar 9b140be1080824d768c5a4691a564088eede71f9
402 $ hg out -B http://localhost:$HGPORT/
406 $ hg out -B http://localhost:$HGPORT/
403 comparing with http://localhost:$HGPORT/
407 comparing with http://localhost:$HGPORT/
404 searching for changed bookmarks
408 searching for changed bookmarks
405 @ 0d2164f0ce0d
409 @ 0d2164f0ce0d
406 X 0d2164f0ce0d
410 X 0d2164f0ce0d
407 Z 0d2164f0ce0d
411 Z 0d2164f0ce0d
408 foo
412 foo
409 foobar
413 foobar
410 $ hg push -B Z http://localhost:$HGPORT/
414 $ hg push -B Z http://localhost:$HGPORT/
411 pushing to http://localhost:$HGPORT/
415 pushing to http://localhost:$HGPORT/
412 searching for changes
416 searching for changes
413 no changes found
417 no changes found
414 updating bookmark Z
418 updating bookmark Z
415 [1]
419 [1]
416 $ hg book -d Z
420 $ hg book -d Z
417 $ hg in -B http://localhost:$HGPORT/
421 $ hg in -B http://localhost:$HGPORT/
418 comparing with http://localhost:$HGPORT/
422 comparing with http://localhost:$HGPORT/
419 searching for changed bookmarks
423 searching for changed bookmarks
420 @ 9b140be10808
424 @ 9b140be10808
421 X 9b140be10808
425 X 9b140be10808
422 Z 0d2164f0ce0d
426 Z 0d2164f0ce0d
423 foo 000000000000
427 foo 000000000000
424 foobar 9b140be10808
428 foobar 9b140be10808
425 $ hg pull -B Z http://localhost:$HGPORT/
429 $ hg pull -B Z http://localhost:$HGPORT/
426 pulling from http://localhost:$HGPORT/
430 pulling from http://localhost:$HGPORT/
427 no changes found
431 no changes found
428 divergent bookmark @ stored as @1
432 divergent bookmark @ stored as @1
429 divergent bookmark X stored as X@1
433 divergent bookmark X stored as X@1
430 adding remote bookmark Z
434 adding remote bookmark Z
431 adding remote bookmark foo
435 adding remote bookmark foo
432 adding remote bookmark foobar
436 adding remote bookmark foobar
433 $ hg clone http://localhost:$HGPORT/ cloned-bookmarks
437 $ hg clone http://localhost:$HGPORT/ cloned-bookmarks
434 requesting all changes
438 requesting all changes
435 adding changesets
439 adding changesets
436 adding manifests
440 adding manifests
437 adding file changes
441 adding file changes
438 added 5 changesets with 5 changes to 3 files (+2 heads)
442 added 5 changesets with 5 changes to 3 files (+2 heads)
443 2 new obsolescence markers
439 updating to bookmark @
444 updating to bookmark @
440 2 files updated, 0 files merged, 0 files removed, 0 files unresolved
445 2 files updated, 0 files merged, 0 files removed, 0 files unresolved
441 $ hg -R cloned-bookmarks bookmarks
446 $ hg -R cloned-bookmarks bookmarks
442 * @ 1:9b140be10808
447 * @ 1:9b140be10808
443 X 1:9b140be10808
448 X 1:9b140be10808
444 Y 4:c922c0139ca0
449 Y 4:c922c0139ca0
445 Z 2:0d2164f0ce0d
450 Z 2:0d2164f0ce0d
446 foo -1:000000000000
451 foo -1:000000000000
447 foobar 1:9b140be10808
452 foobar 1:9b140be10808
448
453
449 $ cd ..
454 $ cd ..
450
455
451 Test to show result of bookmarks comparision
456 Test to show result of bookmarks comparision
452
457
453 $ mkdir bmcomparison
458 $ mkdir bmcomparison
454 $ cd bmcomparison
459 $ cd bmcomparison
455
460
456 $ hg init source
461 $ hg init source
457 $ hg -R source debugbuilddag '+2*2*3*4'
462 $ hg -R source debugbuilddag '+2*2*3*4'
458 $ hg -R source log -G --template '{rev}:{node|short}'
463 $ hg -R source log -G --template '{rev}:{node|short}'
459 o 4:e7bd5218ca15
464 o 4:e7bd5218ca15
460 |
465 |
461 | o 3:6100d3090acf
466 | o 3:6100d3090acf
462 |/
467 |/
463 | o 2:fa942426a6fd
468 | o 2:fa942426a6fd
464 |/
469 |/
465 | o 1:66f7d451a68b
470 | o 1:66f7d451a68b
466 |/
471 |/
467 o 0:1ea73414a91b
472 o 0:1ea73414a91b
468
473
469 $ hg -R source bookmarks -r 0 SAME
474 $ hg -R source bookmarks -r 0 SAME
470 $ hg -R source bookmarks -r 0 ADV_ON_REPO1
475 $ hg -R source bookmarks -r 0 ADV_ON_REPO1
471 $ hg -R source bookmarks -r 0 ADV_ON_REPO2
476 $ hg -R source bookmarks -r 0 ADV_ON_REPO2
472 $ hg -R source bookmarks -r 0 DIFF_ADV_ON_REPO1
477 $ hg -R source bookmarks -r 0 DIFF_ADV_ON_REPO1
473 $ hg -R source bookmarks -r 0 DIFF_ADV_ON_REPO2
478 $ hg -R source bookmarks -r 0 DIFF_ADV_ON_REPO2
474 $ hg -R source bookmarks -r 1 DIVERGED
479 $ hg -R source bookmarks -r 1 DIVERGED
475
480
476 $ hg clone -U source repo1
481 $ hg clone -U source repo1
477
482
478 (test that incoming/outgoing exit with 1, if there is no bookmark to
483 (test that incoming/outgoing exit with 1, if there is no bookmark to
479 be excahnged)
484 be excahnged)
480
485
481 $ hg -R repo1 incoming -B
486 $ hg -R repo1 incoming -B
482 comparing with $TESTTMP/bmcomparison/source
487 comparing with $TESTTMP/bmcomparison/source
483 searching for changed bookmarks
488 searching for changed bookmarks
484 no changed bookmarks found
489 no changed bookmarks found
485 [1]
490 [1]
486 $ hg -R repo1 outgoing -B
491 $ hg -R repo1 outgoing -B
487 comparing with $TESTTMP/bmcomparison/source
492 comparing with $TESTTMP/bmcomparison/source
488 searching for changed bookmarks
493 searching for changed bookmarks
489 no changed bookmarks found
494 no changed bookmarks found
490 [1]
495 [1]
491
496
492 $ hg -R repo1 bookmarks -f -r 1 ADD_ON_REPO1
497 $ hg -R repo1 bookmarks -f -r 1 ADD_ON_REPO1
493 $ hg -R repo1 bookmarks -f -r 2 ADV_ON_REPO1
498 $ hg -R repo1 bookmarks -f -r 2 ADV_ON_REPO1
494 $ hg -R repo1 bookmarks -f -r 3 DIFF_ADV_ON_REPO1
499 $ hg -R repo1 bookmarks -f -r 3 DIFF_ADV_ON_REPO1
495 $ hg -R repo1 bookmarks -f -r 3 DIFF_DIVERGED
500 $ hg -R repo1 bookmarks -f -r 3 DIFF_DIVERGED
496 $ hg -R repo1 -q --config extensions.mq= strip 4
501 $ hg -R repo1 -q --config extensions.mq= strip 4
497 $ hg -R repo1 log -G --template '{node|short} ({bookmarks})'
502 $ hg -R repo1 log -G --template '{node|short} ({bookmarks})'
498 o 6100d3090acf (DIFF_ADV_ON_REPO1 DIFF_DIVERGED)
503 o 6100d3090acf (DIFF_ADV_ON_REPO1 DIFF_DIVERGED)
499 |
504 |
500 | o fa942426a6fd (ADV_ON_REPO1)
505 | o fa942426a6fd (ADV_ON_REPO1)
501 |/
506 |/
502 | o 66f7d451a68b (ADD_ON_REPO1 DIVERGED)
507 | o 66f7d451a68b (ADD_ON_REPO1 DIVERGED)
503 |/
508 |/
504 o 1ea73414a91b (ADV_ON_REPO2 DIFF_ADV_ON_REPO2 SAME)
509 o 1ea73414a91b (ADV_ON_REPO2 DIFF_ADV_ON_REPO2 SAME)
505
510
506
511
507 $ hg clone -U source repo2
512 $ hg clone -U source repo2
508 $ hg -R repo2 bookmarks -f -r 1 ADD_ON_REPO2
513 $ hg -R repo2 bookmarks -f -r 1 ADD_ON_REPO2
509 $ hg -R repo2 bookmarks -f -r 1 ADV_ON_REPO2
514 $ hg -R repo2 bookmarks -f -r 1 ADV_ON_REPO2
510 $ hg -R repo2 bookmarks -f -r 2 DIVERGED
515 $ hg -R repo2 bookmarks -f -r 2 DIVERGED
511 $ hg -R repo2 bookmarks -f -r 4 DIFF_ADV_ON_REPO2
516 $ hg -R repo2 bookmarks -f -r 4 DIFF_ADV_ON_REPO2
512 $ hg -R repo2 bookmarks -f -r 4 DIFF_DIVERGED
517 $ hg -R repo2 bookmarks -f -r 4 DIFF_DIVERGED
513 $ hg -R repo2 -q --config extensions.mq= strip 3
518 $ hg -R repo2 -q --config extensions.mq= strip 3
514 $ hg -R repo2 log -G --template '{node|short} ({bookmarks})'
519 $ hg -R repo2 log -G --template '{node|short} ({bookmarks})'
515 o e7bd5218ca15 (DIFF_ADV_ON_REPO2 DIFF_DIVERGED)
520 o e7bd5218ca15 (DIFF_ADV_ON_REPO2 DIFF_DIVERGED)
516 |
521 |
517 | o fa942426a6fd (DIVERGED)
522 | o fa942426a6fd (DIVERGED)
518 |/
523 |/
519 | o 66f7d451a68b (ADD_ON_REPO2 ADV_ON_REPO2)
524 | o 66f7d451a68b (ADD_ON_REPO2 ADV_ON_REPO2)
520 |/
525 |/
521 o 1ea73414a91b (ADV_ON_REPO1 DIFF_ADV_ON_REPO1 SAME)
526 o 1ea73414a91b (ADV_ON_REPO1 DIFF_ADV_ON_REPO1 SAME)
522
527
523
528
524 (test that difference of bookmarks between repositories are fully shown)
529 (test that difference of bookmarks between repositories are fully shown)
525
530
526 $ hg -R repo1 incoming -B repo2 -v
531 $ hg -R repo1 incoming -B repo2 -v
527 comparing with repo2
532 comparing with repo2
528 searching for changed bookmarks
533 searching for changed bookmarks
529 ADD_ON_REPO2 66f7d451a68b added
534 ADD_ON_REPO2 66f7d451a68b added
530 ADV_ON_REPO2 66f7d451a68b advanced
535 ADV_ON_REPO2 66f7d451a68b advanced
531 DIFF_ADV_ON_REPO2 e7bd5218ca15 changed
536 DIFF_ADV_ON_REPO2 e7bd5218ca15 changed
532 DIFF_DIVERGED e7bd5218ca15 changed
537 DIFF_DIVERGED e7bd5218ca15 changed
533 DIVERGED fa942426a6fd diverged
538 DIVERGED fa942426a6fd diverged
534 $ hg -R repo1 outgoing -B repo2 -v
539 $ hg -R repo1 outgoing -B repo2 -v
535 comparing with repo2
540 comparing with repo2
536 searching for changed bookmarks
541 searching for changed bookmarks
537 ADD_ON_REPO1 66f7d451a68b added
542 ADD_ON_REPO1 66f7d451a68b added
538 ADD_ON_REPO2 deleted
543 ADD_ON_REPO2 deleted
539 ADV_ON_REPO1 fa942426a6fd advanced
544 ADV_ON_REPO1 fa942426a6fd advanced
540 DIFF_ADV_ON_REPO1 6100d3090acf advanced
545 DIFF_ADV_ON_REPO1 6100d3090acf advanced
541 DIFF_ADV_ON_REPO2 1ea73414a91b changed
546 DIFF_ADV_ON_REPO2 1ea73414a91b changed
542 DIFF_DIVERGED 6100d3090acf changed
547 DIFF_DIVERGED 6100d3090acf changed
543 DIVERGED 66f7d451a68b diverged
548 DIVERGED 66f7d451a68b diverged
544
549
545 $ hg -R repo2 incoming -B repo1 -v
550 $ hg -R repo2 incoming -B repo1 -v
546 comparing with repo1
551 comparing with repo1
547 searching for changed bookmarks
552 searching for changed bookmarks
548 ADD_ON_REPO1 66f7d451a68b added
553 ADD_ON_REPO1 66f7d451a68b added
549 ADV_ON_REPO1 fa942426a6fd advanced
554 ADV_ON_REPO1 fa942426a6fd advanced
550 DIFF_ADV_ON_REPO1 6100d3090acf changed
555 DIFF_ADV_ON_REPO1 6100d3090acf changed
551 DIFF_DIVERGED 6100d3090acf changed
556 DIFF_DIVERGED 6100d3090acf changed
552 DIVERGED 66f7d451a68b diverged
557 DIVERGED 66f7d451a68b diverged
553 $ hg -R repo2 outgoing -B repo1 -v
558 $ hg -R repo2 outgoing -B repo1 -v
554 comparing with repo1
559 comparing with repo1
555 searching for changed bookmarks
560 searching for changed bookmarks
556 ADD_ON_REPO1 deleted
561 ADD_ON_REPO1 deleted
557 ADD_ON_REPO2 66f7d451a68b added
562 ADD_ON_REPO2 66f7d451a68b added
558 ADV_ON_REPO2 66f7d451a68b advanced
563 ADV_ON_REPO2 66f7d451a68b advanced
559 DIFF_ADV_ON_REPO1 1ea73414a91b changed
564 DIFF_ADV_ON_REPO1 1ea73414a91b changed
560 DIFF_ADV_ON_REPO2 e7bd5218ca15 advanced
565 DIFF_ADV_ON_REPO2 e7bd5218ca15 advanced
561 DIFF_DIVERGED e7bd5218ca15 changed
566 DIFF_DIVERGED e7bd5218ca15 changed
562 DIVERGED fa942426a6fd diverged
567 DIVERGED fa942426a6fd diverged
563
568
564 $ cd ..
569 $ cd ..
565
570
566 Pushing a bookmark should only push the changes required by that
571 Pushing a bookmark should only push the changes required by that
567 bookmark, not all outgoing changes:
572 bookmark, not all outgoing changes:
568 $ hg clone http://localhost:$HGPORT/ addmarks
573 $ hg clone http://localhost:$HGPORT/ addmarks
569 requesting all changes
574 requesting all changes
570 adding changesets
575 adding changesets
571 adding manifests
576 adding manifests
572 adding file changes
577 adding file changes
573 added 5 changesets with 5 changes to 3 files (+2 heads)
578 added 5 changesets with 5 changes to 3 files (+2 heads)
579 2 new obsolescence markers
574 updating to bookmark @
580 updating to bookmark @
575 2 files updated, 0 files merged, 0 files removed, 0 files unresolved
581 2 files updated, 0 files merged, 0 files removed, 0 files unresolved
576 $ cd addmarks
582 $ cd addmarks
577 $ echo foo > foo
583 $ echo foo > foo
578 $ hg add foo
584 $ hg add foo
579 $ hg commit -m 'add foo'
585 $ hg commit -m 'add foo'
580 $ echo bar > bar
586 $ echo bar > bar
581 $ hg add bar
587 $ hg add bar
582 $ hg commit -m 'add bar'
588 $ hg commit -m 'add bar'
583 $ hg co "tip^"
589 $ hg co "tip^"
584 0 files updated, 0 files merged, 1 files removed, 0 files unresolved
590 0 files updated, 0 files merged, 1 files removed, 0 files unresolved
585 (leaving bookmark @)
591 (leaving bookmark @)
586 $ hg book add-foo
592 $ hg book add-foo
587 $ hg book -r tip add-bar
593 $ hg book -r tip add-bar
588 Note: this push *must* push only a single changeset, as that's the point
594 Note: this push *must* push only a single changeset, as that's the point
589 of this test.
595 of this test.
590 $ hg push -B add-foo --traceback
596 $ hg push -B add-foo --traceback
591 pushing to http://localhost:$HGPORT/
597 pushing to http://localhost:$HGPORT/
592 searching for changes
598 searching for changes
593 remote: adding changesets
599 remote: adding changesets
594 remote: adding manifests
600 remote: adding manifests
595 remote: adding file changes
601 remote: adding file changes
596 remote: added 1 changesets with 1 changes to 1 files
602 remote: added 1 changesets with 1 changes to 1 files
597 exporting bookmark add-foo
603 exporting bookmark add-foo
598
604
599 pushing a new bookmark on a new head does not require -f if -B is specified
605 pushing a new bookmark on a new head does not require -f if -B is specified
600
606
601 $ hg up -q X
607 $ hg up -q X
602 $ hg book W
608 $ hg book W
603 $ echo c5 > f2
609 $ echo c5 > f2
604 $ hg ci -Am5
610 $ hg ci -Am5
605 created new head
611 created new head
606 $ hg push -B W
612 $ hg push -B W
607 pushing to http://localhost:$HGPORT/
613 pushing to http://localhost:$HGPORT/
608 searching for changes
614 searching for changes
609 remote: adding changesets
615 remote: adding changesets
610 remote: adding manifests
616 remote: adding manifests
611 remote: adding file changes
617 remote: adding file changes
612 remote: added 1 changesets with 1 changes to 1 files (+1 heads)
618 remote: added 1 changesets with 1 changes to 1 files (+1 heads)
613 exporting bookmark W
619 exporting bookmark W
614 $ hg -R ../b id -r W
620 $ hg -R ../b id -r W
615 cc978a373a53 tip W
621 cc978a373a53 tip W
616
622
617 Check summary output for incoming/outgoing bookmarks
623 Check summary output for incoming/outgoing bookmarks
618
624
619 $ hg bookmarks -d X
625 $ hg bookmarks -d X
620 $ hg bookmarks -d Y
626 $ hg bookmarks -d Y
621 $ hg summary --remote | grep '^remote:'
627 $ hg summary --remote | grep '^remote:'
622 remote: *, 2 incoming bookmarks, 1 outgoing bookmarks (glob)
628 remote: *, 2 incoming bookmarks, 1 outgoing bookmarks (glob)
623
629
624 $ cd ..
630 $ cd ..
625
631
626 pushing an unchanged bookmark should result in no changes
632 pushing an unchanged bookmark should result in no changes
627
633
628 $ hg init unchanged-a
634 $ hg init unchanged-a
629 $ hg init unchanged-b
635 $ hg init unchanged-b
630 $ cd unchanged-a
636 $ cd unchanged-a
631 $ echo initial > foo
637 $ echo initial > foo
632 $ hg commit -A -m initial
638 $ hg commit -A -m initial
633 adding foo
639 adding foo
634 $ hg bookmark @
640 $ hg bookmark @
635 $ hg push -B @ ../unchanged-b
641 $ hg push -B @ ../unchanged-b
636 pushing to ../unchanged-b
642 pushing to ../unchanged-b
637 searching for changes
643 searching for changes
638 adding changesets
644 adding changesets
639 adding manifests
645 adding manifests
640 adding file changes
646 adding file changes
641 added 1 changesets with 1 changes to 1 files
647 added 1 changesets with 1 changes to 1 files
642 exporting bookmark @
648 exporting bookmark @
643
649
644 $ hg push -B @ ../unchanged-b
650 $ hg push -B @ ../unchanged-b
645 pushing to ../unchanged-b
651 pushing to ../unchanged-b
646 searching for changes
652 searching for changes
647 no changes found
653 no changes found
648 [1]
654 [1]
649
655
650
656
651 Check hook preventing push (issue4455)
657 Check hook preventing push (issue4455)
652 ======================================
658 ======================================
653
659
654 $ hg bookmarks
660 $ hg bookmarks
655 * @ 0:55482a6fb4b1
661 * @ 0:55482a6fb4b1
656 $ hg log -G
662 $ hg log -G
657 @ 0:55482a6fb4b1 initial
663 @ 0:55482a6fb4b1 initial
658
664
659 $ hg init ../issue4455-dest
665 $ hg init ../issue4455-dest
660 $ hg push ../issue4455-dest # changesets only
666 $ hg push ../issue4455-dest # changesets only
661 pushing to ../issue4455-dest
667 pushing to ../issue4455-dest
662 searching for changes
668 searching for changes
663 adding changesets
669 adding changesets
664 adding manifests
670 adding manifests
665 adding file changes
671 adding file changes
666 added 1 changesets with 1 changes to 1 files
672 added 1 changesets with 1 changes to 1 files
667 $ cat >> .hg/hgrc << EOF
673 $ cat >> .hg/hgrc << EOF
668 > [paths]
674 > [paths]
669 > local=../issue4455-dest/
675 > local=../issue4455-dest/
670 > ssh=ssh://user@dummy/issue4455-dest
676 > ssh=ssh://user@dummy/issue4455-dest
671 > http=http://localhost:$HGPORT/
677 > http=http://localhost:$HGPORT/
672 > [ui]
678 > [ui]
673 > ssh=python "$TESTDIR/dummyssh"
679 > ssh=python "$TESTDIR/dummyssh"
674 > EOF
680 > EOF
675 $ cat >> ../issue4455-dest/.hg/hgrc << EOF
681 $ cat >> ../issue4455-dest/.hg/hgrc << EOF
676 > [hooks]
682 > [hooks]
677 > prepushkey=false
683 > prepushkey=false
678 > [web]
684 > [web]
679 > push_ssl = false
685 > push_ssl = false
680 > allow_push = *
686 > allow_push = *
681 > EOF
687 > EOF
682 $ "$TESTDIR/killdaemons.py" $DAEMON_PIDS
688 $ "$TESTDIR/killdaemons.py" $DAEMON_PIDS
683 $ hg -R ../issue4455-dest serve -p $HGPORT -d --pid-file=../issue4455.pid -E ../issue4455-error.log
689 $ hg -R ../issue4455-dest serve -p $HGPORT -d --pid-file=../issue4455.pid -E ../issue4455-error.log
684 $ cat ../issue4455.pid >> $DAEMON_PIDS
690 $ cat ../issue4455.pid >> $DAEMON_PIDS
685
691
686 Local push
692 Local push
687 ----------
693 ----------
688
694
689 $ hg push -B @ local
695 $ hg push -B @ local
690 pushing to $TESTTMP/issue4455-dest (glob)
696 pushing to $TESTTMP/issue4455-dest (glob)
691 searching for changes
697 searching for changes
692 no changes found
698 no changes found
693 pushkey-abort: prepushkey hook exited with status 1
699 pushkey-abort: prepushkey hook exited with status 1
694 exporting bookmark @ failed!
700 exporting bookmark @ failed!
695 [1]
701 [1]
696 $ hg -R ../issue4455-dest/ bookmarks
702 $ hg -R ../issue4455-dest/ bookmarks
697 no bookmarks set
703 no bookmarks set
698
704
699 Using ssh
705 Using ssh
700 ---------
706 ---------
701
707
702 $ hg push -B @ ssh
708 $ hg push -B @ ssh
703 pushing to ssh://user@dummy/issue4455-dest
709 pushing to ssh://user@dummy/issue4455-dest
704 searching for changes
710 searching for changes
705 no changes found
711 no changes found
706 remote: pushkey-abort: prepushkey hook exited with status 1
712 remote: pushkey-abort: prepushkey hook exited with status 1
707 exporting bookmark @ failed!
713 exporting bookmark @ failed!
708 [1]
714 [1]
709 $ hg -R ../issue4455-dest/ bookmarks
715 $ hg -R ../issue4455-dest/ bookmarks
710 no bookmarks set
716 no bookmarks set
711
717
712 Using http
718 Using http
713 ----------
719 ----------
714
720
715 $ hg push -B @ http
721 $ hg push -B @ http
716 pushing to http://localhost:$HGPORT/
722 pushing to http://localhost:$HGPORT/
717 searching for changes
723 searching for changes
718 no changes found
724 no changes found
719 remote: pushkey-abort: prepushkey hook exited with status 1
725 remote: pushkey-abort: prepushkey hook exited with status 1
720 exporting bookmark @ failed!
726 exporting bookmark @ failed!
721 [1]
727 [1]
722 $ hg -R ../issue4455-dest/ bookmarks
728 $ hg -R ../issue4455-dest/ bookmarks
723 no bookmarks set
729 no bookmarks set
General Comments 0
You need to be logged in to leave comments. Login now