##// END OF EJS Templates
tests: clean up even more direct `python` calls with $PYTHON...
Augie Fackler -
r33286:2428e8ec default
parent child Browse files
Show More
@@ -809,7 +809,7 b' Check hook preventing push (issue4455)'
809 809 > ssh=ssh://user@dummy/issue4455-dest
810 810 > http=http://localhost:$HGPORT/
811 811 > [ui]
812 > ssh=python "$TESTDIR/dummyssh"
812 > ssh=$PYTHON "$TESTDIR/dummyssh"
813 813 > EOF
814 814 $ cat >> ../issue4455-dest/.hg/hgrc << EOF
815 815 > [hooks]
@@ -18,7 +18,7 b' enable obsolescence'
18 18 > evolution=createmarkers,exchange
19 19 > bundle2-output-capture=True
20 20 > [ui]
21 > ssh=python "$TESTDIR/dummyssh"
21 > ssh=$PYTHON "$TESTDIR/dummyssh"
22 22 > logtemplate={rev}:{node|short} {phase} {author} {bookmarks} {desc|firstline}
23 23 > [web]
24 24 > push_ssl = false
@@ -909,7 +909,7 b' Test lazily acquiring the lock during un'
909 909 $ cp $TESTTMP/hgrc.orig $HGRCPATH
910 910 $ cat >> $HGRCPATH <<EOF
911 911 > [ui]
912 > ssh=python "$TESTDIR/dummyssh"
912 > ssh=$PYTHON "$TESTDIR/dummyssh"
913 913 > EOF
914 914
915 915 $ cat >> $TESTTMP/locktester.py <<EOF
@@ -229,7 +229,7 b' Create an extension to test bundle2 API'
229 229 > [experimental]
230 230 > evolution=createmarkers
231 231 > [ui]
232 > ssh=python "$TESTDIR/dummyssh"
232 > ssh=$PYTHON "$TESTDIR/dummyssh"
233 233 > logtemplate={rev}:{node|short} {phase} {author} {bookmarks} {desc|firstline}
234 234 > [web]
235 235 > push_ssl = false
@@ -79,7 +79,7 b' Start a simple HTTP server to serve bund'
79 79
80 80 $ cat >> $HGRCPATH << EOF
81 81 > [ui]
82 > ssh=python "$TESTDIR/dummyssh"
82 > ssh=$PYTHON "$TESTDIR/dummyssh"
83 83 > logtemplate={rev}:{node|short} {phase} {author} {bookmarks} {desc|firstline}
84 84 > EOF
85 85
@@ -1044,7 +1044,7 b" Test that auto sharing doesn't cause fai"
1044 1044 $ hg id -R remote -r 0
1045 1045 abort: repository remote not found!
1046 1046 [255]
1047 $ hg --config share.pool=share -q clone -e "python \"$TESTDIR/dummyssh\"" a ssh://user@dummy/remote
1047 $ hg --config share.pool=share -q clone -e "$PYTHON \"$TESTDIR/dummyssh\"" a ssh://user@dummy/remote
1048 1048 $ hg -R remote id -r 0
1049 1049 acb14030fe0a
1050 1050
@@ -197,7 +197,7 b' by old clients.'
197 197
198 198 Feature works over SSH
199 199
200 $ hg clone -U -e "python \"$TESTDIR/dummyssh\"" ssh://user@dummy/server ssh-full-clone
200 $ hg clone -U -e "$PYTHON \"$TESTDIR/dummyssh\"" ssh://user@dummy/server ssh-full-clone
201 201 applying clone bundle from http://localhost:$HGPORT1/full.hg
202 202 adding changesets
203 203 adding manifests
@@ -5,7 +5,7 b' when we do a merge.'
5 5 > import sys, os
6 6 > print "merging for", os.path.basename(sys.argv[1])
7 7 > EOF
8 $ HGMERGE="python ../merge"; export HGMERGE
8 $ HGMERGE="$PYTHON ../merge"; export HGMERGE
9 9
10 10 Creating base:
11 11
@@ -87,7 +87,7 b' verify 7e7d56fe4833 (encoding fallback i'
87 87 > EOF
88 88 $ echo baz >> b/foo
89 89 $ hg -R b ci -m baz
90 $ hg push -R b -e 'python oldhg' ssh://dummy/ --encoding latin1
90 $ hg push -R b -e '$PYTHON oldhg' ssh://dummy/ --encoding latin1
91 91 pushing to ssh://dummy/
92 92 searching for changes
93 93 remote: adding changesets
@@ -106,7 +106,7 b' test failure'
106 106
107 107 init+push to remote2
108 108
109 $ hg init -e "python \"$TESTDIR/dummyssh\"" ssh://user@dummy/remote2
109 $ hg init -e "$PYTHON \"$TESTDIR/dummyssh\"" ssh://user@dummy/remote2
110 110 $ hg incoming -R remote2 local
111 111 comparing with local
112 112 changeset: 0:08b9e9f63b32
@@ -116,7 +116,7 b' init+push to remote2'
116 116 summary: init
117 117
118 118
119 $ hg push -R local -e "python \"$TESTDIR/dummyssh\"" ssh://user@dummy/remote2
119 $ hg push -R local -e "$PYTHON \"$TESTDIR/dummyssh\"" ssh://user@dummy/remote2
120 120 pushing to ssh://user@dummy/remote2
121 121 searching for changes
122 122 remote: adding changesets
@@ -126,7 +126,7 b' init+push to remote2'
126 126
127 127 clone to remote1
128 128
129 $ hg clone -e "python \"$TESTDIR/dummyssh\"" local ssh://user@dummy/remote1
129 $ hg clone -e "$PYTHON \"$TESTDIR/dummyssh\"" local ssh://user@dummy/remote1
130 130 searching for changes
131 131 remote: adding changesets
132 132 remote: adding manifests
@@ -134,7 +134,7 b' clone to remote1'
134 134 remote: added 1 changesets with 1 changes to 1 files
135 135
136 136 The largefiles extension doesn't crash
137 $ hg clone -e "python \"$TESTDIR/dummyssh\"" local ssh://user@dummy/remotelf --config extensions.largefiles=
137 $ hg clone -e "$PYTHON \"$TESTDIR/dummyssh\"" local ssh://user@dummy/remotelf --config extensions.largefiles=
138 138 The fsmonitor extension is incompatible with the largefiles extension and has been disabled. (fsmonitor !)
139 139 The fsmonitor extension is incompatible with the largefiles extension and has been disabled. (fsmonitor !)
140 140 searching for changes
@@ -145,14 +145,14 b" The largefiles extension doesn't crash"
145 145
146 146 init to existing repo
147 147
148 $ hg init -e "python \"$TESTDIR/dummyssh\"" ssh://user@dummy/remote1
148 $ hg init -e "$PYTHON \"$TESTDIR/dummyssh\"" ssh://user@dummy/remote1
149 149 abort: repository remote1 already exists!
150 150 abort: could not create remote repo!
151 151 [255]
152 152
153 153 clone to existing repo
154 154
155 $ hg clone -e "python \"$TESTDIR/dummyssh\"" local ssh://user@dummy/remote1
155 $ hg clone -e "$PYTHON \"$TESTDIR/dummyssh\"" local ssh://user@dummy/remote1
156 156 abort: repository remote1 already exists!
157 157 abort: could not create remote repo!
158 158 [255]
@@ -251,7 +251,7 b' clone bookmarks'
251 251 $ hg -R local bookmark test
252 252 $ hg -R local bookmarks
253 253 * test 0:08b9e9f63b32
254 $ hg clone -e "python \"$TESTDIR/dummyssh\"" local ssh://user@dummy/remote-bookmarks
254 $ hg clone -e "$PYTHON \"$TESTDIR/dummyssh\"" local ssh://user@dummy/remote-bookmarks
255 255 searching for changes
256 256 remote: adding changesets
257 257 remote: adding manifests
@@ -112,7 +112,7 b' used all HGPORTs, kill all daemons'
112 112 #endif
113 113
114 114 vanilla clients locked out from largefiles ssh repos
115 $ hg --config extensions.largefiles=! clone -e "python \"$TESTDIR/dummyssh\"" ssh://user@dummy/r4 r5
115 $ hg --config extensions.largefiles=! clone -e "$PYTHON \"$TESTDIR/dummyssh\"" ssh://user@dummy/r4 r5
116 116 remote:
117 117 remote: This repository uses the largefiles extension.
118 118 remote:
@@ -10,7 +10,7 b''
10 10 >
11 11 > print "merging for", os.path.basename(sys.argv[1])
12 12 > EOF
13 $ HGMERGE="python ../merge"; export HGMERGE
13 $ HGMERGE="$PYTHON ../merge"; export HGMERGE
14 14
15 15 $ hg init t
16 16 $ cd t
@@ -2,7 +2,7 b''
2 2 > import sys, os
3 3 > print "merging for", os.path.basename(sys.argv[1])
4 4 > EOF
5 $ HGMERGE="python ../merge"; export HGMERGE
5 $ HGMERGE="$PYTHON ../merge"; export HGMERGE
6 6
7 7 $ hg init A1
8 8 $ cd A1
@@ -47,7 +47,7 b' args:'
47 47 > echo "--------------"
48 48 > echo "test L:$1 R:$2 W:$3 - $4"
49 49 > echo "--------------"
50 > hg merge -y --debug --traceback --tool="python ../merge"
50 > hg merge -y --debug --traceback --tool="$PYTHON ../merge"
51 51 >
52 52 > echo "--------------"
53 53 > hg status -camC -X rev
@@ -90,18 +90,18 b' args:'
90 90 preserving rev for resolve of rev
91 91 starting 4 threads for background file closing (?)
92 92 b: remote copied from a -> m (premerge)
93 picked tool 'python ../merge' for b (binary False symlink False changedelete False)
93 picked tool '* ../merge' for b (binary False symlink False changedelete False) (glob)
94 94 merging a and b to b
95 95 my b@e300d1c794ec+ other b@4ce40f5aca24 ancestor a@924404dff337
96 96 premerge successful
97 97 rev: versions differ -> m (premerge)
98 picked tool 'python ../merge' for rev (binary False symlink False changedelete False)
98 picked tool '* ../merge' for rev (binary False symlink False changedelete False) (glob)
99 99 merging rev
100 100 my rev@e300d1c794ec+ other rev@4ce40f5aca24 ancestor rev@924404dff337
101 101 rev: versions differ -> m (merge)
102 picked tool 'python ../merge' for rev (binary False symlink False changedelete False)
102 picked tool '* ../merge' for rev (binary False symlink False changedelete False) (glob)
103 103 my rev@e300d1c794ec+ other rev@4ce40f5aca24 ancestor rev@924404dff337
104 launching merge tool: python ../merge *$TESTTMP/t/t/rev* * * (glob)
104 launching merge tool: * ../merge *$TESTTMP/t/t/rev* * * (glob)
105 105 merge tool returned: 0
106 106 0 files updated, 2 files merged, 0 files removed, 0 files unresolved
107 107 (branch merge, don't forget to commit)
@@ -130,18 +130,18 b' args:'
130 130 a: remote is newer -> g
131 131 getting a
132 132 b: local copied/moved from a -> m (premerge)
133 picked tool 'python ../merge' for b (binary False symlink False changedelete False)
133 picked tool '* ../merge' for b (binary False symlink False changedelete False) (glob)
134 134 merging b and a to b
135 135 my b@86a2aa42fc76+ other a@f4db7e329e71 ancestor a@924404dff337
136 136 premerge successful
137 137 rev: versions differ -> m (premerge)
138 picked tool 'python ../merge' for rev (binary False symlink False changedelete False)
138 picked tool '* ../merge' for rev (binary False symlink False changedelete False) (glob)
139 139 merging rev
140 140 my rev@86a2aa42fc76+ other rev@f4db7e329e71 ancestor rev@924404dff337
141 141 rev: versions differ -> m (merge)
142 picked tool 'python ../merge' for rev (binary False symlink False changedelete False)
142 picked tool '* ../merge' for rev (binary False symlink False changedelete False) (glob)
143 143 my rev@86a2aa42fc76+ other rev@f4db7e329e71 ancestor rev@924404dff337
144 launching merge tool: python ../merge *$TESTTMP/t/t/rev* * * (glob)
144 launching merge tool: * ../merge *$TESTTMP/t/t/rev* * * (glob)
145 145 merge tool returned: 0
146 146 1 files updated, 2 files merged, 0 files removed, 0 files unresolved
147 147 (branch merge, don't forget to commit)
@@ -170,18 +170,18 b' args:'
170 170 removing a
171 171 starting 4 threads for background file closing (?)
172 172 b: remote moved from a -> m (premerge)
173 picked tool 'python ../merge' for b (binary False symlink False changedelete False)
173 picked tool '* ../merge' for b (binary False symlink False changedelete False) (glob)
174 174 merging a and b to b
175 175 my b@e300d1c794ec+ other b@bdb19105162a ancestor a@924404dff337
176 176 premerge successful
177 177 rev: versions differ -> m (premerge)
178 picked tool 'python ../merge' for rev (binary False symlink False changedelete False)
178 picked tool '* ../merge' for rev (binary False symlink False changedelete False) (glob)
179 179 merging rev
180 180 my rev@e300d1c794ec+ other rev@bdb19105162a ancestor rev@924404dff337
181 181 rev: versions differ -> m (merge)
182 picked tool 'python ../merge' for rev (binary False symlink False changedelete False)
182 picked tool '* ../merge' for rev (binary False symlink False changedelete False) (glob)
183 183 my rev@e300d1c794ec+ other rev@bdb19105162a ancestor rev@924404dff337
184 launching merge tool: python ../merge *$TESTTMP/t/t/rev* * * (glob)
184 launching merge tool: * ../merge *$TESTTMP/t/t/rev* * * (glob)
185 185 merge tool returned: 0
186 186 0 files updated, 2 files merged, 0 files removed, 0 files unresolved
187 187 (branch merge, don't forget to commit)
@@ -208,18 +208,18 b' args:'
208 208 preserving rev for resolve of rev
209 209 starting 4 threads for background file closing (?)
210 210 b: local copied/moved from a -> m (premerge)
211 picked tool 'python ../merge' for b (binary False symlink False changedelete False)
211 picked tool '* ../merge' for b (binary False symlink False changedelete False) (glob)
212 212 merging b and a to b
213 213 my b@02963e448370+ other a@f4db7e329e71 ancestor a@924404dff337
214 214 premerge successful
215 215 rev: versions differ -> m (premerge)
216 picked tool 'python ../merge' for rev (binary False symlink False changedelete False)
216 picked tool '* ../merge' for rev (binary False symlink False changedelete False) (glob)
217 217 merging rev
218 218 my rev@02963e448370+ other rev@f4db7e329e71 ancestor rev@924404dff337
219 219 rev: versions differ -> m (merge)
220 picked tool 'python ../merge' for rev (binary False symlink False changedelete False)
220 picked tool '* ../merge' for rev (binary False symlink False changedelete False) (glob)
221 221 my rev@02963e448370+ other rev@f4db7e329e71 ancestor rev@924404dff337
222 launching merge tool: python ../merge *$TESTTMP/t/t/rev* * * (glob)
222 launching merge tool: * ../merge *$TESTTMP/t/t/rev* * * (glob)
223 223 merge tool returned: 0
224 224 0 files updated, 2 files merged, 0 files removed, 0 files unresolved
225 225 (branch merge, don't forget to commit)
@@ -246,13 +246,13 b' args:'
246 246 b: remote created -> g
247 247 getting b
248 248 rev: versions differ -> m (premerge)
249 picked tool 'python ../merge' for rev (binary False symlink False changedelete False)
249 picked tool '* ../merge' for rev (binary False symlink False changedelete False) (glob)
250 250 merging rev
251 251 my rev@94b33a1b7f2d+ other rev@4ce40f5aca24 ancestor rev@924404dff337
252 252 rev: versions differ -> m (merge)
253 picked tool 'python ../merge' for rev (binary False symlink False changedelete False)
253 picked tool '* ../merge' for rev (binary False symlink False changedelete False) (glob)
254 254 my rev@94b33a1b7f2d+ other rev@4ce40f5aca24 ancestor rev@924404dff337
255 launching merge tool: python ../merge *$TESTTMP/t/t/rev* * * (glob)
255 launching merge tool: * ../merge *$TESTTMP/t/t/rev* * * (glob)
256 256 merge tool returned: 0
257 257 1 files updated, 1 files merged, 0 files removed, 0 files unresolved
258 258 (branch merge, don't forget to commit)
@@ -278,13 +278,13 b' args:'
278 278 preserving rev for resolve of rev
279 279 starting 4 threads for background file closing (?)
280 280 rev: versions differ -> m (premerge)
281 picked tool 'python ../merge' for rev (binary False symlink False changedelete False)
281 picked tool '* ../merge' for rev (binary False symlink False changedelete False) (glob)
282 282 merging rev
283 283 my rev@86a2aa42fc76+ other rev@97c705ade336 ancestor rev@924404dff337
284 284 rev: versions differ -> m (merge)
285 picked tool 'python ../merge' for rev (binary False symlink False changedelete False)
285 picked tool '* ../merge' for rev (binary False symlink False changedelete False) (glob)
286 286 my rev@86a2aa42fc76+ other rev@97c705ade336 ancestor rev@924404dff337
287 launching merge tool: python ../merge *$TESTTMP/t/t/rev* * * (glob)
287 launching merge tool: * ../merge *$TESTTMP/t/t/rev* * * (glob)
288 288 merge tool returned: 0
289 289 0 files updated, 1 files merged, 0 files removed, 0 files unresolved
290 290 (branch merge, don't forget to commit)
@@ -313,13 +313,13 b' args:'
313 313 b: remote created -> g
314 314 getting b
315 315 rev: versions differ -> m (premerge)
316 picked tool 'python ../merge' for rev (binary False symlink False changedelete False)
316 picked tool '* ../merge' for rev (binary False symlink False changedelete False) (glob)
317 317 merging rev
318 318 my rev@94b33a1b7f2d+ other rev@bdb19105162a ancestor rev@924404dff337
319 319 rev: versions differ -> m (merge)
320 picked tool 'python ../merge' for rev (binary False symlink False changedelete False)
320 picked tool '* ../merge' for rev (binary False symlink False changedelete False) (glob)
321 321 my rev@94b33a1b7f2d+ other rev@bdb19105162a ancestor rev@924404dff337
322 launching merge tool: python ../merge *$TESTTMP/t/t/rev* * * (glob)
322 launching merge tool: * ../merge *$TESTTMP/t/t/rev* * * (glob)
323 323 merge tool returned: 0
324 324 1 files updated, 1 files merged, 1 files removed, 0 files unresolved
325 325 (branch merge, don't forget to commit)
@@ -344,13 +344,13 b' args:'
344 344 preserving rev for resolve of rev
345 345 starting 4 threads for background file closing (?)
346 346 rev: versions differ -> m (premerge)
347 picked tool 'python ../merge' for rev (binary False symlink False changedelete False)
347 picked tool '* ../merge' for rev (binary False symlink False changedelete False) (glob)
348 348 merging rev
349 349 my rev@02963e448370+ other rev@97c705ade336 ancestor rev@924404dff337
350 350 rev: versions differ -> m (merge)
351 picked tool 'python ../merge' for rev (binary False symlink False changedelete False)
351 picked tool '* ../merge' for rev (binary False symlink False changedelete False) (glob)
352 352 my rev@02963e448370+ other rev@97c705ade336 ancestor rev@924404dff337
353 launching merge tool: python ../merge *$TESTTMP/t/t/rev* * * (glob)
353 launching merge tool: * ../merge *$TESTTMP/t/t/rev* * * (glob)
354 354 merge tool returned: 0
355 355 0 files updated, 1 files merged, 0 files removed, 0 files unresolved
356 356 (branch merge, don't forget to commit)
@@ -373,22 +373,22 b' args:'
373 373 preserving rev for resolve of rev
374 374 starting 4 threads for background file closing (?)
375 375 b: both renamed from a -> m (premerge)
376 picked tool 'python ../merge' for b (binary False symlink False changedelete False)
376 picked tool '* ../merge' for b (binary False symlink False changedelete False) (glob)
377 377 merging b
378 378 my b@62e7bf090eba+ other b@49b6d8032493 ancestor a@924404dff337
379 379 rev: versions differ -> m (premerge)
380 picked tool 'python ../merge' for rev (binary False symlink False changedelete False)
380 picked tool '* ../merge' for rev (binary False symlink False changedelete False) (glob)
381 381 merging rev
382 382 my rev@62e7bf090eba+ other rev@49b6d8032493 ancestor rev@924404dff337
383 383 b: both renamed from a -> m (merge)
384 picked tool 'python ../merge' for b (binary False symlink False changedelete False)
384 picked tool '* ../merge' for b (binary False symlink False changedelete False) (glob)
385 385 my b@62e7bf090eba+ other b@49b6d8032493 ancestor a@924404dff337
386 launching merge tool: python ../merge *$TESTTMP/t/t/b* * * (glob)
386 launching merge tool: * ../merge *$TESTTMP/t/t/b* * * (glob)
387 387 merge tool returned: 0
388 388 rev: versions differ -> m (merge)
389 picked tool 'python ../merge' for rev (binary False symlink False changedelete False)
389 picked tool '* ../merge' for rev (binary False symlink False changedelete False) (glob)
390 390 my rev@62e7bf090eba+ other rev@49b6d8032493 ancestor rev@924404dff337
391 launching merge tool: python ../merge *$TESTTMP/t/t/rev* * * (glob)
391 launching merge tool: * ../merge *$TESTTMP/t/t/rev* * * (glob)
392 392 merge tool returned: 0
393 393 0 files updated, 2 files merged, 0 files removed, 0 files unresolved
394 394 (branch merge, don't forget to commit)
@@ -423,13 +423,13 b' m "um a c" "um x c" " " "10 do merg'
423 423 c: remote created -> g
424 424 getting c
425 425 rev: versions differ -> m (premerge)
426 picked tool 'python ../merge' for rev (binary False symlink False changedelete False)
426 picked tool '* ../merge' for rev (binary False symlink False changedelete False) (glob)
427 427 merging rev
428 428 my rev@02963e448370+ other rev@fe905ef2c33e ancestor rev@924404dff337
429 429 rev: versions differ -> m (merge)
430 picked tool 'python ../merge' for rev (binary False symlink False changedelete False)
430 picked tool '* ../merge' for rev (binary False symlink False changedelete False) (glob)
431 431 my rev@02963e448370+ other rev@fe905ef2c33e ancestor rev@924404dff337
432 launching merge tool: python ../merge *$TESTTMP/t/t/rev* * * (glob)
432 launching merge tool: * ../merge *$TESTTMP/t/t/rev* * * (glob)
433 433 merge tool returned: 0
434 434 1 files updated, 1 files merged, 0 files removed, 0 files unresolved
435 435 (branch merge, don't forget to commit)
@@ -453,22 +453,22 b' m "um a c" "um x c" " " "10 do merg'
453 453 preserving rev for resolve of rev
454 454 starting 4 threads for background file closing (?)
455 455 b: both created -> m (premerge)
456 picked tool 'python ../merge' for b (binary False symlink False changedelete False)
456 picked tool '* ../merge' for b (binary False symlink False changedelete False) (glob)
457 457 merging b
458 458 my b@86a2aa42fc76+ other b@af30c7647fc7 ancestor b@000000000000
459 459 rev: versions differ -> m (premerge)
460 picked tool 'python ../merge' for rev (binary False symlink False changedelete False)
460 picked tool '* ../merge' for rev (binary False symlink False changedelete False) (glob)
461 461 merging rev
462 462 my rev@86a2aa42fc76+ other rev@af30c7647fc7 ancestor rev@924404dff337
463 463 b: both created -> m (merge)
464 picked tool 'python ../merge' for b (binary False symlink False changedelete False)
464 picked tool '* ../merge' for b (binary False symlink False changedelete False) (glob)
465 465 my b@86a2aa42fc76+ other b@af30c7647fc7 ancestor b@000000000000
466 launching merge tool: python ../merge *$TESTTMP/t/t/b* * * (glob)
466 launching merge tool: * ../merge *$TESTTMP/t/t/b* * * (glob)
467 467 merge tool returned: 0
468 468 rev: versions differ -> m (merge)
469 picked tool 'python ../merge' for rev (binary False symlink False changedelete False)
469 picked tool '* ../merge' for rev (binary False symlink False changedelete False) (glob)
470 470 my rev@86a2aa42fc76+ other rev@af30c7647fc7 ancestor rev@924404dff337
471 launching merge tool: python ../merge *$TESTTMP/t/t/rev* * * (glob)
471 launching merge tool: * ../merge *$TESTTMP/t/t/rev* * * (glob)
472 472 merge tool returned: 0
473 473 0 files updated, 2 files merged, 0 files removed, 0 files unresolved
474 474 (branch merge, don't forget to commit)
@@ -494,22 +494,22 b' m "um a c" "um x c" " " "10 do merg'
494 494 removing a
495 495 starting 4 threads for background file closing (?)
496 496 b: both created -> m (premerge)
497 picked tool 'python ../merge' for b (binary False symlink False changedelete False)
497 picked tool '* ../merge' for b (binary False symlink False changedelete False) (glob)
498 498 merging b
499 499 my b@59318016310c+ other b@bdb19105162a ancestor b@000000000000
500 500 rev: versions differ -> m (premerge)
501 picked tool 'python ../merge' for rev (binary False symlink False changedelete False)
501 picked tool '* ../merge' for rev (binary False symlink False changedelete False) (glob)
502 502 merging rev
503 503 my rev@59318016310c+ other rev@bdb19105162a ancestor rev@924404dff337
504 504 b: both created -> m (merge)
505 picked tool 'python ../merge' for b (binary False symlink False changedelete False)
505 picked tool '* ../merge' for b (binary False symlink False changedelete False) (glob)
506 506 my b@59318016310c+ other b@bdb19105162a ancestor b@000000000000
507 launching merge tool: python ../merge *$TESTTMP/t/t/b* * * (glob)
507 launching merge tool: * ../merge *$TESTTMP/t/t/b* * * (glob)
508 508 merge tool returned: 0
509 509 rev: versions differ -> m (merge)
510 picked tool 'python ../merge' for rev (binary False symlink False changedelete False)
510 picked tool '* ../merge' for rev (binary False symlink False changedelete False) (glob)
511 511 my rev@59318016310c+ other rev@bdb19105162a ancestor rev@924404dff337
512 launching merge tool: python ../merge *$TESTTMP/t/t/rev* * * (glob)
512 launching merge tool: * ../merge *$TESTTMP/t/t/rev* * * (glob)
513 513 merge tool returned: 0
514 514 0 files updated, 2 files merged, 1 files removed, 0 files unresolved
515 515 (branch merge, don't forget to commit)
@@ -533,22 +533,22 b' m "um a c" "um x c" " " "10 do merg'
533 533 a: remote is newer -> g
534 534 getting a
535 535 b: both created -> m (premerge)
536 picked tool 'python ../merge' for b (binary False symlink False changedelete False)
536 picked tool '* ../merge' for b (binary False symlink False changedelete False) (glob)
537 537 merging b
538 538 my b@86a2aa42fc76+ other b@8dbce441892a ancestor b@000000000000
539 539 rev: versions differ -> m (premerge)
540 picked tool 'python ../merge' for rev (binary False symlink False changedelete False)
540 picked tool '* ../merge' for rev (binary False symlink False changedelete False) (glob)
541 541 merging rev
542 542 my rev@86a2aa42fc76+ other rev@8dbce441892a ancestor rev@924404dff337
543 543 b: both created -> m (merge)
544 picked tool 'python ../merge' for b (binary False symlink False changedelete False)
544 picked tool '* ../merge' for b (binary False symlink False changedelete False) (glob)
545 545 my b@86a2aa42fc76+ other b@8dbce441892a ancestor b@000000000000
546 launching merge tool: python ../merge *$TESTTMP/t/t/b* * * (glob)
546 launching merge tool: * ../merge *$TESTTMP/t/t/b* * * (glob)
547 547 merge tool returned: 0
548 548 rev: versions differ -> m (merge)
549 picked tool 'python ../merge' for rev (binary False symlink False changedelete False)
549 picked tool '* ../merge' for rev (binary False symlink False changedelete False) (glob)
550 550 my rev@86a2aa42fc76+ other rev@8dbce441892a ancestor rev@924404dff337
551 launching merge tool: python ../merge *$TESTTMP/t/t/rev* * * (glob)
551 launching merge tool: * ../merge *$TESTTMP/t/t/rev* * * (glob)
552 552 merge tool returned: 0
553 553 1 files updated, 2 files merged, 0 files removed, 0 files unresolved
554 554 (branch merge, don't forget to commit)
@@ -574,22 +574,22 b' m "um a c" "um x c" " " "10 do merg'
574 574 removing a
575 575 starting 4 threads for background file closing (?)
576 576 b: both created -> m (premerge)
577 picked tool 'python ../merge' for b (binary False symlink False changedelete False)
577 picked tool '* ../merge' for b (binary False symlink False changedelete False) (glob)
578 578 merging b
579 579 my b@59318016310c+ other b@bdb19105162a ancestor b@000000000000
580 580 rev: versions differ -> m (premerge)
581 picked tool 'python ../merge' for rev (binary False symlink False changedelete False)
581 picked tool '* ../merge' for rev (binary False symlink False changedelete False) (glob)
582 582 merging rev
583 583 my rev@59318016310c+ other rev@bdb19105162a ancestor rev@924404dff337
584 584 b: both created -> m (merge)
585 picked tool 'python ../merge' for b (binary False symlink False changedelete False)
585 picked tool '* ../merge' for b (binary False symlink False changedelete False) (glob)
586 586 my b@59318016310c+ other b@bdb19105162a ancestor b@000000000000
587 launching merge tool: python ../merge *$TESTTMP/t/t/b* * * (glob)
587 launching merge tool: * ../merge *$TESTTMP/t/t/b* * * (glob)
588 588 merge tool returned: 0
589 589 rev: versions differ -> m (merge)
590 picked tool 'python ../merge' for rev (binary False symlink False changedelete False)
590 picked tool '* ../merge' for rev (binary False symlink False changedelete False) (glob)
591 591 my rev@59318016310c+ other rev@bdb19105162a ancestor rev@924404dff337
592 launching merge tool: python ../merge *$TESTTMP/t/t/rev* * * (glob)
592 launching merge tool: * ../merge *$TESTTMP/t/t/rev* * * (glob)
593 593 merge tool returned: 0
594 594 0 files updated, 2 files merged, 1 files removed, 0 files unresolved
595 595 (branch merge, don't forget to commit)
@@ -613,22 +613,22 b' m "um a c" "um x c" " " "10 do merg'
613 613 a: remote is newer -> g
614 614 getting a
615 615 b: both created -> m (premerge)
616 picked tool 'python ../merge' for b (binary False symlink False changedelete False)
616 picked tool '* ../merge' for b (binary False symlink False changedelete False) (glob)
617 617 merging b
618 618 my b@86a2aa42fc76+ other b@8dbce441892a ancestor b@000000000000
619 619 rev: versions differ -> m (premerge)
620 picked tool 'python ../merge' for rev (binary False symlink False changedelete False)
620 picked tool '* ../merge' for rev (binary False symlink False changedelete False) (glob)
621 621 merging rev
622 622 my rev@86a2aa42fc76+ other rev@8dbce441892a ancestor rev@924404dff337
623 623 b: both created -> m (merge)
624 picked tool 'python ../merge' for b (binary False symlink False changedelete False)
624 picked tool '* ../merge' for b (binary False symlink False changedelete False) (glob)
625 625 my b@86a2aa42fc76+ other b@8dbce441892a ancestor b@000000000000
626 launching merge tool: python ../merge *$TESTTMP/t/t/b* * * (glob)
626 launching merge tool: * ../merge *$TESTTMP/t/t/b* * * (glob)
627 627 merge tool returned: 0
628 628 rev: versions differ -> m (merge)
629 picked tool 'python ../merge' for rev (binary False symlink False changedelete False)
629 picked tool '* ../merge' for rev (binary False symlink False changedelete False) (glob)
630 630 my rev@86a2aa42fc76+ other rev@8dbce441892a ancestor rev@924404dff337
631 launching merge tool: python ../merge *$TESTTMP/t/t/rev* * * (glob)
631 launching merge tool: * ../merge *$TESTTMP/t/t/rev* * * (glob)
632 632 merge tool returned: 0
633 633 1 files updated, 2 files merged, 0 files removed, 0 files unresolved
634 634 (branch merge, don't forget to commit)
@@ -652,22 +652,22 b' m "um a c" "um x c" " " "10 do merg'
652 652 preserving rev for resolve of rev
653 653 starting 4 threads for background file closing (?)
654 654 b: both created -> m (premerge)
655 picked tool 'python ../merge' for b (binary False symlink False changedelete False)
655 picked tool '* ../merge' for b (binary False symlink False changedelete False) (glob)
656 656 merging b
657 657 my b@0b76e65c8289+ other b@4ce40f5aca24 ancestor b@000000000000
658 658 rev: versions differ -> m (premerge)
659 picked tool 'python ../merge' for rev (binary False symlink False changedelete False)
659 picked tool '* ../merge' for rev (binary False symlink False changedelete False) (glob)
660 660 merging rev
661 661 my rev@0b76e65c8289+ other rev@4ce40f5aca24 ancestor rev@924404dff337
662 662 b: both created -> m (merge)
663 picked tool 'python ../merge' for b (binary False symlink False changedelete False)
663 picked tool '* ../merge' for b (binary False symlink False changedelete False) (glob)
664 664 my b@0b76e65c8289+ other b@4ce40f5aca24 ancestor b@000000000000
665 launching merge tool: python ../merge *$TESTTMP/t/t/b* * * (glob)
665 launching merge tool: * ../merge *$TESTTMP/t/t/b* * * (glob)
666 666 merge tool returned: 0
667 667 rev: versions differ -> m (merge)
668 picked tool 'python ../merge' for rev (binary False symlink False changedelete False)
668 picked tool '* ../merge' for rev (binary False symlink False changedelete False) (glob)
669 669 my rev@0b76e65c8289+ other rev@4ce40f5aca24 ancestor rev@924404dff337
670 launching merge tool: python ../merge *$TESTTMP/t/t/rev* * * (glob)
670 launching merge tool: * ../merge *$TESTTMP/t/t/rev* * * (glob)
671 671 merge tool returned: 0
672 672 0 files updated, 2 files merged, 0 files removed, 0 files unresolved
673 673 (branch merge, don't forget to commit)
@@ -695,22 +695,22 b' m "um a c" "um x c" " " "10 do merg'
695 695 other [merge rev] changed a which local [working copy] deleted
696 696 use (c)hanged version, leave (d)eleted, or leave (u)nresolved? u
697 697 b: both created -> m (premerge)
698 picked tool 'python ../merge' for b (binary False symlink False changedelete False)
698 picked tool '* ../merge' for b (binary False symlink False changedelete False) (glob)
699 699 merging b
700 700 my b@02963e448370+ other b@8dbce441892a ancestor b@000000000000
701 701 rev: versions differ -> m (premerge)
702 picked tool 'python ../merge' for rev (binary False symlink False changedelete False)
702 picked tool '* ../merge' for rev (binary False symlink False changedelete False) (glob)
703 703 merging rev
704 704 my rev@02963e448370+ other rev@8dbce441892a ancestor rev@924404dff337
705 705 b: both created -> m (merge)
706 picked tool 'python ../merge' for b (binary False symlink False changedelete False)
706 picked tool '* ../merge' for b (binary False symlink False changedelete False) (glob)
707 707 my b@02963e448370+ other b@8dbce441892a ancestor b@000000000000
708 launching merge tool: python ../merge *$TESTTMP/t/t/b* * * (glob)
708 launching merge tool: * ../merge *$TESTTMP/t/t/b* * * (glob)
709 709 merge tool returned: 0
710 710 rev: versions differ -> m (merge)
711 picked tool 'python ../merge' for rev (binary False symlink False changedelete False)
711 picked tool '* ../merge' for rev (binary False symlink False changedelete False) (glob)
712 712 my rev@02963e448370+ other rev@8dbce441892a ancestor rev@924404dff337
713 launching merge tool: python ../merge *$TESTTMP/t/t/rev* * * (glob)
713 launching merge tool: * ../merge *$TESTTMP/t/t/rev* * * (glob)
714 714 merge tool returned: 0
715 715 0 files updated, 2 files merged, 0 files removed, 1 files unresolved
716 716 use 'hg resolve' to retry unresolved file merges or 'hg update -C .' to abandon
@@ -740,22 +740,22 b' m "um a c" "um x c" " " "10 do merg'
740 740 local [working copy] changed a which other [merge rev] deleted
741 741 use (c)hanged version, (d)elete, or leave (u)nresolved? u
742 742 b: both created -> m (premerge)
743 picked tool 'python ../merge' for b (binary False symlink False changedelete False)
743 picked tool '* ../merge' for b (binary False symlink False changedelete False) (glob)
744 744 merging b
745 745 my b@0b76e65c8289+ other b@bdb19105162a ancestor b@000000000000
746 746 rev: versions differ -> m (premerge)
747 picked tool 'python ../merge' for rev (binary False symlink False changedelete False)
747 picked tool '* ../merge' for rev (binary False symlink False changedelete False) (glob)
748 748 merging rev
749 749 my rev@0b76e65c8289+ other rev@bdb19105162a ancestor rev@924404dff337
750 750 b: both created -> m (merge)
751 picked tool 'python ../merge' for b (binary False symlink False changedelete False)
751 picked tool '* ../merge' for b (binary False symlink False changedelete False) (glob)
752 752 my b@0b76e65c8289+ other b@bdb19105162a ancestor b@000000000000
753 launching merge tool: python ../merge *$TESTTMP/t/t/b* * * (glob)
753 launching merge tool: * ../merge *$TESTTMP/t/t/b* * * (glob)
754 754 merge tool returned: 0
755 755 rev: versions differ -> m (merge)
756 picked tool 'python ../merge' for rev (binary False symlink False changedelete False)
756 picked tool '* ../merge' for rev (binary False symlink False changedelete False) (glob)
757 757 my rev@0b76e65c8289+ other rev@bdb19105162a ancestor rev@924404dff337
758 launching merge tool: python ../merge *$TESTTMP/t/t/rev* * * (glob)
758 launching merge tool: * ../merge *$TESTTMP/t/t/rev* * * (glob)
759 759 merge tool returned: 0
760 760 0 files updated, 2 files merged, 0 files removed, 1 files unresolved
761 761 use 'hg resolve' to retry unresolved file merges or 'hg update -C .' to abandon
@@ -784,22 +784,22 b' m "um a c" "um x c" " " "10 do merg'
784 784 removing a
785 785 starting 4 threads for background file closing (?)
786 786 b: remote moved from a -> m (premerge)
787 picked tool 'python ../merge' for b (binary False symlink False changedelete False)
787 picked tool '* ../merge' for b (binary False symlink False changedelete False) (glob)
788 788 merging a and b to b
789 789 my b@e300d1c794ec+ other b@49b6d8032493 ancestor a@924404dff337
790 790 rev: versions differ -> m (premerge)
791 picked tool 'python ../merge' for rev (binary False symlink False changedelete False)
791 picked tool '* ../merge' for rev (binary False symlink False changedelete False) (glob)
792 792 merging rev
793 793 my rev@e300d1c794ec+ other rev@49b6d8032493 ancestor rev@924404dff337
794 794 b: remote moved from a -> m (merge)
795 picked tool 'python ../merge' for b (binary False symlink False changedelete False)
795 picked tool '* ../merge' for b (binary False symlink False changedelete False) (glob)
796 796 my b@e300d1c794ec+ other b@49b6d8032493 ancestor a@924404dff337
797 launching merge tool: python ../merge *$TESTTMP/t/t/b* * * (glob)
797 launching merge tool: * ../merge *$TESTTMP/t/t/b* * * (glob)
798 798 merge tool returned: 0
799 799 rev: versions differ -> m (merge)
800 picked tool 'python ../merge' for rev (binary False symlink False changedelete False)
800 picked tool '* ../merge' for rev (binary False symlink False changedelete False) (glob)
801 801 my rev@e300d1c794ec+ other rev@49b6d8032493 ancestor rev@924404dff337
802 launching merge tool: python ../merge *$TESTTMP/t/t/rev* * * (glob)
802 launching merge tool: * ../merge *$TESTTMP/t/t/rev* * * (glob)
803 803 merge tool returned: 0
804 804 0 files updated, 2 files merged, 0 files removed, 0 files unresolved
805 805 (branch merge, don't forget to commit)
@@ -826,22 +826,22 b' m "um a c" "um x c" " " "10 do merg'
826 826 preserving rev for resolve of rev
827 827 starting 4 threads for background file closing (?)
828 828 b: local copied/moved from a -> m (premerge)
829 picked tool 'python ../merge' for b (binary False symlink False changedelete False)
829 picked tool '* ../merge' for b (binary False symlink False changedelete False) (glob)
830 830 merging b and a to b
831 831 my b@62e7bf090eba+ other a@f4db7e329e71 ancestor a@924404dff337
832 832 rev: versions differ -> m (premerge)
833 picked tool 'python ../merge' for rev (binary False symlink False changedelete False)
833 picked tool '* ../merge' for rev (binary False symlink False changedelete False) (glob)
834 834 merging rev
835 835 my rev@62e7bf090eba+ other rev@f4db7e329e71 ancestor rev@924404dff337
836 836 b: local copied/moved from a -> m (merge)
837 picked tool 'python ../merge' for b (binary False symlink False changedelete False)
837 picked tool '* ../merge' for b (binary False symlink False changedelete False) (glob)
838 838 my b@62e7bf090eba+ other a@f4db7e329e71 ancestor a@924404dff337
839 launching merge tool: python ../merge *$TESTTMP/t/t/b* * * (glob)
839 launching merge tool: * ../merge *$TESTTMP/t/t/b* * * (glob)
840 840 merge tool returned: 0
841 841 rev: versions differ -> m (merge)
842 picked tool 'python ../merge' for rev (binary False symlink False changedelete False)
842 picked tool '* ../merge' for rev (binary False symlink False changedelete False) (glob)
843 843 my rev@62e7bf090eba+ other rev@f4db7e329e71 ancestor rev@924404dff337
844 launching merge tool: python ../merge *$TESTTMP/t/t/rev* * * (glob)
844 launching merge tool: * ../merge *$TESTTMP/t/t/rev* * * (glob)
845 845 merge tool returned: 0
846 846 0 files updated, 2 files merged, 0 files removed, 0 files unresolved
847 847 (branch merge, don't forget to commit)
@@ -874,18 +874,18 b' m "nm a b" "um x a" " " "22 get a, '
874 874 c: remote created -> g
875 875 getting c
876 876 b: local copied/moved from a -> m (premerge)
877 picked tool 'python ../merge' for b (binary False symlink False changedelete False)
877 picked tool '* ../merge' for b (binary False symlink False changedelete False) (glob)
878 878 merging b and a to b
879 879 my b@02963e448370+ other a@2b958612230f ancestor a@924404dff337
880 880 premerge successful
881 881 rev: versions differ -> m (premerge)
882 picked tool 'python ../merge' for rev (binary False symlink False changedelete False)
882 picked tool '* ../merge' for rev (binary False symlink False changedelete False) (glob)
883 883 merging rev
884 884 my rev@02963e448370+ other rev@2b958612230f ancestor rev@924404dff337
885 885 rev: versions differ -> m (merge)
886 picked tool 'python ../merge' for rev (binary False symlink False changedelete False)
886 picked tool '* ../merge' for rev (binary False symlink False changedelete False) (glob)
887 887 my rev@02963e448370+ other rev@2b958612230f ancestor rev@924404dff337
888 launching merge tool: python ../merge *$TESTTMP/t/t/rev* * * (glob)
888 launching merge tool: * ../merge *$TESTTMP/t/t/rev* * * (glob)
889 889 merge tool returned: 0
890 890 1 files updated, 2 files merged, 0 files removed, 0 files unresolved
891 891 (branch merge, don't forget to commit)
@@ -3065,14 +3065,14 b' no crash by empty group "()" while optim'
3065 3065 test that chained `or` operations never eat up stack (issue4624)
3066 3066 (uses `0:1` instead of `0` to avoid future optimization of trivial revisions)
3067 3067
3068 $ hg log -T '{rev}\n' -r `python -c "print '+'.join(['0:1'] * 500)"`
3068 $ hg log -T '{rev}\n' -r `$PYTHON -c "print '+'.join(['0:1'] * 500)"`
3069 3069 0
3070 3070 1
3071 3071
3072 3072 test that repeated `-r` options never eat up stack (issue4565)
3073 3073 (uses `-r 0::1` to avoid possible optimization at old-style parser)
3074 3074
3075 $ hg log -T '{rev}\n' `python -c "for i in xrange(500): print '-r 0::1 ',"`
3075 $ hg log -T '{rev}\n' `$PYTHON -c "for i in xrange(500): print '-r 0::1 ',"`
3076 3076 0
3077 3077 1
3078 3078
@@ -44,21 +44,21 b' configure for serving'
44 44
45 45 repo not found error
46 46
47 $ hg clone -e "python \"$TESTDIR/dummyssh\"" ssh://user@dummy/nonexistent local
47 $ hg clone -e "$PYTHON \"$TESTDIR/dummyssh\"" ssh://user@dummy/nonexistent local
48 48 remote: abort: repository nonexistent not found!
49 49 abort: no suitable response from remote hg!
50 50 [255]
51 51
52 52 non-existent absolute path
53 53
54 $ hg clone -e "python \"$TESTDIR/dummyssh\"" ssh://user@dummy//`pwd`/nonexistent local
54 $ hg clone -e "$PYTHON \"$TESTDIR/dummyssh\"" ssh://user@dummy//`pwd`/nonexistent local
55 55 remote: abort: repository /$TESTTMP/nonexistent not found!
56 56 abort: no suitable response from remote hg!
57 57 [255]
58 58
59 59 clone remote via stream
60 60
61 $ hg clone -e "python \"$TESTDIR/dummyssh\"" --uncompressed ssh://user@dummy/remote local-stream
61 $ hg clone -e "$PYTHON \"$TESTDIR/dummyssh\"" --uncompressed ssh://user@dummy/remote local-stream
62 62 streaming all changes
63 63 4 files to transfer, 602 bytes of data
64 64 transferred 602 bytes in * seconds (*) (glob)
@@ -80,7 +80,7 b' clone remote via stream'
80 80 clone bookmarks via stream
81 81
82 82 $ hg -R local-stream book mybook
83 $ hg clone -e "python \"$TESTDIR/dummyssh\"" --uncompressed ssh://user@dummy/local-stream stream2
83 $ hg clone -e "$PYTHON \"$TESTDIR/dummyssh\"" --uncompressed ssh://user@dummy/local-stream stream2
84 84 streaming all changes
85 85 4 files to transfer, 602 bytes of data
86 86 transferred 602 bytes in * seconds (*) (glob)
@@ -96,7 +96,7 b' clone bookmarks via stream'
96 96
97 97 clone remote via pull
98 98
99 $ hg clone -e "python \"$TESTDIR/dummyssh\"" ssh://user@dummy/remote local
99 $ hg clone -e "$PYTHON \"$TESTDIR/dummyssh\"" ssh://user@dummy/remote local
100 100 requesting all changes
101 101 adding changesets
102 102 adding manifests
@@ -123,14 +123,14 b' empty default pull'
123 123
124 124 $ hg paths
125 125 default = ssh://user@dummy/remote
126 $ hg pull -e "python \"$TESTDIR/dummyssh\""
126 $ hg pull -e "$PYTHON \"$TESTDIR/dummyssh\""
127 127 pulling from ssh://user@dummy/remote
128 128 searching for changes
129 129 no changes found
130 130
131 131 pull from wrong ssh URL
132 132
133 $ hg pull -e "python \"$TESTDIR/dummyssh\"" ssh://user@dummy/doesnotexist
133 $ hg pull -e "$PYTHON \"$TESTDIR/dummyssh\"" ssh://user@dummy/doesnotexist
134 134 pulling from ssh://user@dummy/doesnotexist
135 135 remote: abort: repository doesnotexist not found!
136 136 abort: no suitable response from remote hg!
@@ -162,7 +162,7 b' find outgoing'
162 162
163 163 find incoming on the remote side
164 164
165 $ hg incoming -R ../remote -e "python \"$TESTDIR/dummyssh\"" ssh://user@dummy/local
165 $ hg incoming -R ../remote -e "$PYTHON \"$TESTDIR/dummyssh\"" ssh://user@dummy/local
166 166 comparing with ssh://user@dummy/local
167 167 searching for changes
168 168 changeset: 3:a28a9d1a809c
@@ -175,7 +175,7 b' find incoming on the remote side'
175 175
176 176 find incoming on the remote side (using absolute path)
177 177
178 $ hg incoming -R ../remote -e "python \"$TESTDIR/dummyssh\"" "ssh://user@dummy/`pwd`"
178 $ hg incoming -R ../remote -e "$PYTHON \"$TESTDIR/dummyssh\"" "ssh://user@dummy/`pwd`"
179 179 comparing with ssh://user@dummy/$TESTTMP/local
180 180 searching for changes
181 181 changeset: 3:a28a9d1a809c
@@ -222,7 +222,7 b' check remote tip'
222 222 test pushkeys and bookmarks
223 223
224 224 $ cd ../local
225 $ hg debugpushkey --config ui.ssh="python \"$TESTDIR/dummyssh\"" ssh://user@dummy/remote namespaces
225 $ hg debugpushkey --config ui.ssh="$PYTHON \"$TESTDIR/dummyssh\"" ssh://user@dummy/remote namespaces
226 226 bookmarks
227 227 namespaces
228 228 phases
@@ -237,7 +237,7 b' test pushkeys and bookmarks'
237 237 no changes found
238 238 exporting bookmark foo
239 239 [1]
240 $ hg debugpushkey --config ui.ssh="python \"$TESTDIR/dummyssh\"" ssh://user@dummy/remote bookmarks
240 $ hg debugpushkey --config ui.ssh="$PYTHON \"$TESTDIR/dummyssh\"" ssh://user@dummy/remote bookmarks
241 241 foo 1160648e36cec0054048a7edc4110c6f84fde594
242 242 $ hg book -f foo
243 243 $ hg push --traceback
@@ -307,7 +307,7 b' clone bookmarks'
307 307 $ hg -R ../remote bookmark test
308 308 $ hg -R ../remote bookmarks
309 309 * test 4:6c0482d977a3
310 $ hg clone -e "python \"$TESTDIR/dummyssh\"" ssh://user@dummy/remote local-bookmarks
310 $ hg clone -e "$PYTHON \"$TESTDIR/dummyssh\"" ssh://user@dummy/remote local-bookmarks
311 311 requesting all changes
312 312 adding changesets
313 313 adding manifests
@@ -334,21 +334,21 b' hide outer repo'
334 334
335 335 Test remote paths with spaces (issue2983):
336 336
337 $ hg init --ssh "python \"$TESTDIR/dummyssh\"" "ssh://user@dummy/a repo"
337 $ hg init --ssh "$PYTHON \"$TESTDIR/dummyssh\"" "ssh://user@dummy/a repo"
338 338 $ touch "$TESTTMP/a repo/test"
339 339 $ hg -R 'a repo' commit -A -m "test"
340 340 adding test
341 341 $ hg -R 'a repo' tag tag
342 $ hg id --ssh "python \"$TESTDIR/dummyssh\"" "ssh://user@dummy/a repo"
342 $ hg id --ssh "$PYTHON \"$TESTDIR/dummyssh\"" "ssh://user@dummy/a repo"
343 343 73649e48688a
344 344
345 $ hg id --ssh "python \"$TESTDIR/dummyssh\"" "ssh://user@dummy/a repo#noNoNO"
345 $ hg id --ssh "$PYTHON \"$TESTDIR/dummyssh\"" "ssh://user@dummy/a repo#noNoNO"
346 346 abort: unknown revision 'noNoNO'!
347 347 [255]
348 348
349 349 Test (non-)escaping of remote paths with spaces when cloning (issue3145):
350 350
351 $ hg clone --ssh "python \"$TESTDIR/dummyssh\"" "ssh://user@dummy/a repo"
351 $ hg clone --ssh "$PYTHON \"$TESTDIR/dummyssh\"" "ssh://user@dummy/a repo"
352 352 destination directory: a repo
353 353 abort: destination 'a repo' is not empty
354 354 [255]
@@ -526,11 +526,11 b' remote hook failure is attributed to rem'
526 526
527 527 $ echo "pretxnchangegroup.fail = python:$TESTTMP/failhook:hook" >> remote/.hg/hgrc
528 528
529 $ hg -q --config ui.ssh="python $TESTDIR/dummyssh" clone ssh://user@dummy/remote hookout
529 $ hg -q --config ui.ssh="$PYTHON $TESTDIR/dummyssh" clone ssh://user@dummy/remote hookout
530 530 $ cd hookout
531 531 $ touch hookfailure
532 532 $ hg -q commit -A -m 'remote hook failure'
533 $ hg --config ui.ssh="python $TESTDIR/dummyssh" push
533 $ hg --config ui.ssh="$PYTHON $TESTDIR/dummyssh" push
534 534 pushing to ssh://user@dummy/remote
535 535 searching for changes
536 536 remote: adding changesets
@@ -551,7 +551,7 b' abort during pull is properly reported a'
551 551 > [extensions]
552 552 > crash = ${TESTDIR}/crashgetbundler.py
553 553 > EOF
554 $ hg --config ui.ssh="python $TESTDIR/dummyssh" pull
554 $ hg --config ui.ssh="$PYTHON $TESTDIR/dummyssh" pull
555 555 pulling from ssh://user@dummy/remote
556 556 searching for changes
557 557 adding changesets
@@ -17,7 +17,7 b" creating 'remote' repo"
17 17 clone remote via stream
18 18
19 19 $ for i in 0 1 2 3 4 5 6 7 8; do
20 > hg clone -e "python \"$TESTDIR/dummyssh\"" --uncompressed -r "$i" ssh://user@dummy/remote test-"$i"
20 > hg clone -e "$PYTHON \"$TESTDIR/dummyssh\"" --uncompressed -r "$i" ssh://user@dummy/remote test-"$i"
21 21 > if cd test-"$i"; then
22 22 > hg verify
23 23 > cd ..
@@ -139,7 +139,7 b' clone remote via stream'
139 139 4 files, 9 changesets, 7 total revisions
140 140 $ cd ..
141 141 $ cd test-1
142 $ hg pull -e "python \"$TESTDIR/dummyssh\"" -r 4 ssh://user@dummy/remote
142 $ hg pull -e "$PYTHON \"$TESTDIR/dummyssh\"" -r 4 ssh://user@dummy/remote
143 143 pulling from ssh://user@dummy/remote
144 144 searching for changes
145 145 adding changesets
@@ -153,7 +153,7 b' clone remote via stream'
153 153 crosschecking files in changesets and manifests
154 154 checking files
155 155 1 files, 3 changesets, 2 total revisions
156 $ hg pull -e "python \"$TESTDIR/dummyssh\"" ssh://user@dummy/remote
156 $ hg pull -e "$PYTHON \"$TESTDIR/dummyssh\"" ssh://user@dummy/remote
157 157 pulling from ssh://user@dummy/remote
158 158 searching for changes
159 159 adding changesets
@@ -163,7 +163,7 b' clone remote via stream'
163 163 (run 'hg update' to get a working copy)
164 164 $ cd ..
165 165 $ cd test-2
166 $ hg pull -e "python \"$TESTDIR/dummyssh\"" -r 5 ssh://user@dummy/remote
166 $ hg pull -e "$PYTHON \"$TESTDIR/dummyssh\"" -r 5 ssh://user@dummy/remote
167 167 pulling from ssh://user@dummy/remote
168 168 searching for changes
169 169 adding changesets
@@ -177,7 +177,7 b' clone remote via stream'
177 177 crosschecking files in changesets and manifests
178 178 checking files
179 179 1 files, 5 changesets, 3 total revisions
180 $ hg pull -e "python \"$TESTDIR/dummyssh\"" ssh://user@dummy/remote
180 $ hg pull -e "$PYTHON \"$TESTDIR/dummyssh\"" ssh://user@dummy/remote
181 181 pulling from ssh://user@dummy/remote
182 182 searching for changes
183 183 adding changesets
@@ -38,21 +38,21 b' configure for serving'
38 38
39 39 repo not found error
40 40
41 $ hg clone -e "python \"$TESTDIR/dummyssh\"" ssh://user@dummy/nonexistent local
41 $ hg clone -e "$PYTHON \"$TESTDIR/dummyssh\"" ssh://user@dummy/nonexistent local
42 42 remote: abort: repository nonexistent not found!
43 43 abort: no suitable response from remote hg!
44 44 [255]
45 45
46 46 non-existent absolute path
47 47
48 $ hg clone -e "python \"$TESTDIR/dummyssh\"" ssh://user@dummy/`pwd`/nonexistent local
48 $ hg clone -e "$PYTHON \"$TESTDIR/dummyssh\"" ssh://user@dummy/`pwd`/nonexistent local
49 49 remote: abort: repository $TESTTMP/nonexistent not found!
50 50 abort: no suitable response from remote hg!
51 51 [255]
52 52
53 53 clone remote via stream
54 54
55 $ hg clone -e "python \"$TESTDIR/dummyssh\"" --uncompressed ssh://user@dummy/remote local-stream
55 $ hg clone -e "$PYTHON \"$TESTDIR/dummyssh\"" --uncompressed ssh://user@dummy/remote local-stream
56 56 streaming all changes
57 57 4 files to transfer, 602 bytes of data
58 58 transferred 602 bytes in * seconds (*) (glob)
@@ -74,7 +74,7 b' clone remote via stream'
74 74 clone bookmarks via stream
75 75
76 76 $ hg -R local-stream book mybook
77 $ hg clone -e "python \"$TESTDIR/dummyssh\"" --uncompressed ssh://user@dummy/local-stream stream2
77 $ hg clone -e "$PYTHON \"$TESTDIR/dummyssh\"" --uncompressed ssh://user@dummy/local-stream stream2
78 78 streaming all changes
79 79 4 files to transfer, 602 bytes of data
80 80 transferred 602 bytes in * seconds (*) (glob)
@@ -90,7 +90,7 b' clone bookmarks via stream'
90 90
91 91 clone remote via pull
92 92
93 $ hg clone -e "python \"$TESTDIR/dummyssh\"" ssh://user@dummy/remote local
93 $ hg clone -e "$PYTHON \"$TESTDIR/dummyssh\"" ssh://user@dummy/remote local
94 94 requesting all changes
95 95 adding changesets
96 96 adding manifests
@@ -117,14 +117,14 b' empty default pull'
117 117
118 118 $ hg paths
119 119 default = ssh://user@dummy/remote
120 $ hg pull -e "python \"$TESTDIR/dummyssh\""
120 $ hg pull -e "$PYTHON \"$TESTDIR/dummyssh\""
121 121 pulling from ssh://user@dummy/remote
122 122 searching for changes
123 123 no changes found
124 124
125 125 pull from wrong ssh URL
126 126
127 $ hg pull -e "python \"$TESTDIR/dummyssh\"" ssh://user@dummy/doesnotexist
127 $ hg pull -e "$PYTHON \"$TESTDIR/dummyssh\"" ssh://user@dummy/doesnotexist
128 128 pulling from ssh://user@dummy/doesnotexist
129 129 remote: abort: repository doesnotexist not found!
130 130 abort: no suitable response from remote hg!
@@ -156,7 +156,7 b' find outgoing'
156 156
157 157 find incoming on the remote side
158 158
159 $ hg incoming -R ../remote -e "python \"$TESTDIR/dummyssh\"" ssh://user@dummy/local
159 $ hg incoming -R ../remote -e "$PYTHON \"$TESTDIR/dummyssh\"" ssh://user@dummy/local
160 160 comparing with ssh://user@dummy/local
161 161 searching for changes
162 162 changeset: 3:a28a9d1a809c
@@ -169,7 +169,7 b' find incoming on the remote side'
169 169
170 170 find incoming on the remote side (using absolute path)
171 171
172 $ hg incoming -R ../remote -e "python \"$TESTDIR/dummyssh\"" "ssh://user@dummy/`pwd`"
172 $ hg incoming -R ../remote -e "$PYTHON \"$TESTDIR/dummyssh\"" "ssh://user@dummy/`pwd`"
173 173 comparing with ssh://user@dummy/$TESTTMP/local
174 174 searching for changes
175 175 changeset: 3:a28a9d1a809c
@@ -216,7 +216,7 b' check remote tip'
216 216 test pushkeys and bookmarks
217 217
218 218 $ cd ../local
219 $ hg debugpushkey --config ui.ssh="python \"$TESTDIR/dummyssh\"" ssh://user@dummy/remote namespaces
219 $ hg debugpushkey --config ui.ssh="$PYTHON \"$TESTDIR/dummyssh\"" ssh://user@dummy/remote namespaces
220 220 bookmarks
221 221 namespaces
222 222 phases
@@ -231,7 +231,7 b' test pushkeys and bookmarks'
231 231 no changes found
232 232 exporting bookmark foo
233 233 [1]
234 $ hg debugpushkey --config ui.ssh="python \"$TESTDIR/dummyssh\"" ssh://user@dummy/remote bookmarks
234 $ hg debugpushkey --config ui.ssh="$PYTHON \"$TESTDIR/dummyssh\"" ssh://user@dummy/remote bookmarks
235 235 foo 1160648e36cec0054048a7edc4110c6f84fde594
236 236 $ hg book -f foo
237 237 $ hg push --traceback
@@ -311,7 +311,7 b' clone bookmarks'
311 311 $ hg -R ../remote bookmark test
312 312 $ hg -R ../remote bookmarks
313 313 * test 4:6c0482d977a3
314 $ hg clone -e "python \"$TESTDIR/dummyssh\"" ssh://user@dummy/remote local-bookmarks
314 $ hg clone -e "$PYTHON \"$TESTDIR/dummyssh\"" ssh://user@dummy/remote local-bookmarks
315 315 requesting all changes
316 316 adding changesets
317 317 adding manifests
@@ -338,21 +338,21 b' hide outer repo'
338 338
339 339 Test remote paths with spaces (issue2983):
340 340
341 $ hg init --ssh "python \"$TESTDIR/dummyssh\"" "ssh://user@dummy/a repo"
341 $ hg init --ssh "$PYTHON \"$TESTDIR/dummyssh\"" "ssh://user@dummy/a repo"
342 342 $ touch "$TESTTMP/a repo/test"
343 343 $ hg -R 'a repo' commit -A -m "test"
344 344 adding test
345 345 $ hg -R 'a repo' tag tag
346 $ hg id --ssh "python \"$TESTDIR/dummyssh\"" "ssh://user@dummy/a repo"
346 $ hg id --ssh "$PYTHON \"$TESTDIR/dummyssh\"" "ssh://user@dummy/a repo"
347 347 73649e48688a
348 348
349 $ hg id --ssh "python \"$TESTDIR/dummyssh\"" "ssh://user@dummy/a repo#noNoNO"
349 $ hg id --ssh "$PYTHON \"$TESTDIR/dummyssh\"" "ssh://user@dummy/a repo#noNoNO"
350 350 abort: unknown revision 'noNoNO'!
351 351 [255]
352 352
353 353 Test (non-)escaping of remote paths with spaces when cloning (issue3145):
354 354
355 $ hg clone --ssh "python \"$TESTDIR/dummyssh\"" "ssh://user@dummy/a repo"
355 $ hg clone --ssh "$PYTHON \"$TESTDIR/dummyssh\"" "ssh://user@dummy/a repo"
356 356 destination directory: a repo
357 357 abort: destination 'a repo' is not empty
358 358 [255]
@@ -543,11 +543,11 b' remote hook failure is attributed to rem'
543 543
544 544 $ echo "pretxnchangegroup.fail = python:$TESTTMP/failhook:hook" >> remote/.hg/hgrc
545 545
546 $ hg -q --config ui.ssh="python $TESTDIR/dummyssh" clone ssh://user@dummy/remote hookout
546 $ hg -q --config ui.ssh="$PYTHON $TESTDIR/dummyssh" clone ssh://user@dummy/remote hookout
547 547 $ cd hookout
548 548 $ touch hookfailure
549 549 $ hg -q commit -A -m 'remote hook failure'
550 $ hg --config ui.ssh="python $TESTDIR/dummyssh" push
550 $ hg --config ui.ssh="$PYTHON $TESTDIR/dummyssh" push
551 551 pushing to ssh://user@dummy/remote
552 552 searching for changes
553 553 remote: adding changesets
@@ -569,7 +569,7 b' abort during pull is properly reported a'
569 569 > [extensions]
570 570 > crash = ${TESTDIR}/crashgetbundler.py
571 571 > EOF
572 $ hg --config ui.ssh="python $TESTDIR/dummyssh" pull
572 $ hg --config ui.ssh="$PYTHON $TESTDIR/dummyssh" pull
573 573 pulling from ssh://user@dummy/remote
574 574 searching for changes
575 575 remote: abort: this is an exercise
@@ -74,7 +74,7 b" subrepo debug for 'main' clone"
74 74
75 75 subrepo paths with ssh urls
76 76
77 $ hg clone -e "python \"$TESTDIR/dummyssh\"" ssh://user@dummy/cloned sshclone
77 $ hg clone -e "$PYTHON \"$TESTDIR/dummyssh\"" ssh://user@dummy/cloned sshclone
78 78 requesting all changes
79 79 adding changesets
80 80 adding manifests
@@ -89,7 +89,7 b' subrepo paths with ssh urls'
89 89 added 1 changesets with 1 changes to 1 files
90 90 3 files updated, 0 files merged, 0 files removed, 0 files unresolved
91 91
92 $ hg -R sshclone push -e "python \"$TESTDIR/dummyssh\"" ssh://user@dummy/`pwd`/cloned
92 $ hg -R sshclone push -e "$PYTHON \"$TESTDIR/dummyssh\"" ssh://user@dummy/`pwd`/cloned
93 93 pushing to ssh://user@dummy/$TESTTMP/cloned
94 94 pushing subrepo sub to ssh://user@dummy/$TESTTMP/sub
95 95 searching for changes
@@ -4,7 +4,7 b''
4 4 > [format]
5 5 > usegeneraldelta=yes
6 6 > [ui]
7 > ssh=python "$TESTDIR/dummyssh"
7 > ssh=$PYTHON "$TESTDIR/dummyssh"
8 8 > EOF
9 9
10 10 Set up repo
@@ -147,13 +147,13 b' HTTP without the httpheader capability:'
147 147
148 148 SSH (try to exercise the ssh functionality with a dummy script):
149 149
150 $ hg debugwireargs --ssh "python $TESTDIR/dummyssh" ssh://user@dummy/repo uno due tre quattro
150 $ hg debugwireargs --ssh "$PYTHON $TESTDIR/dummyssh" ssh://user@dummy/repo uno due tre quattro
151 151 uno due tre quattro None
152 $ hg debugwireargs --ssh "python $TESTDIR/dummyssh" ssh://user@dummy/repo eins zwei --four vier
152 $ hg debugwireargs --ssh "$PYTHON $TESTDIR/dummyssh" ssh://user@dummy/repo eins zwei --four vier
153 153 eins zwei None vier None
154 $ hg debugwireargs --ssh "python $TESTDIR/dummyssh" ssh://user@dummy/repo eins zwei
154 $ hg debugwireargs --ssh "$PYTHON $TESTDIR/dummyssh" ssh://user@dummy/repo eins zwei
155 155 eins zwei None None None
156 $ hg debugwireargs --ssh "python $TESTDIR/dummyssh" ssh://user@dummy/repo eins zwei --five fuenf
156 $ hg debugwireargs --ssh "$PYTHON $TESTDIR/dummyssh" ssh://user@dummy/repo eins zwei --five fuenf
157 157 eins zwei None None None
158 158
159 159 Explicitly kill daemons to let the test exit on Windows
General Comments 0
You need to be logged in to leave comments. Login now