comparison tests/test-init.t @ 33286:2428e8ec0793

tests: clean up even more direct `python` calls with $PYTHON This time ones that are prefixed with =, ", ', or `. This appears to be the last of them. Differential Revision: https://phab.mercurial-scm.org/D14
author Augie Fackler <augie@google.com>
date Tue, 20 Jun 2017 17:31:18 -0400
parents fe0667cc521e
children 72f051f9a7d8
comparison
equal deleted inserted replaced
33285:98f6c25aaf61 33286:2428e8ec0793
104 abort: repository local already exists! 104 abort: repository local already exists!
105 [255] 105 [255]
106 106
107 init+push to remote2 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 $ hg incoming -R remote2 local 110 $ hg incoming -R remote2 local
111 comparing with local 111 comparing with local
112 changeset: 0:08b9e9f63b32 112 changeset: 0:08b9e9f63b32
113 tag: tip 113 tag: tip
114 user: test 114 user: test
115 date: Thu Jan 01 00:00:00 1970 +0000 115 date: Thu Jan 01 00:00:00 1970 +0000
116 summary: init 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 pushing to ssh://user@dummy/remote2 120 pushing to ssh://user@dummy/remote2
121 searching for changes 121 searching for changes
122 remote: adding changesets 122 remote: adding changesets
123 remote: adding manifests 123 remote: adding manifests
124 remote: adding file changes 124 remote: adding file changes
125 remote: added 1 changesets with 1 changes to 1 files 125 remote: added 1 changesets with 1 changes to 1 files
126 126
127 clone to remote1 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 searching for changes 130 searching for changes
131 remote: adding changesets 131 remote: adding changesets
132 remote: adding manifests 132 remote: adding manifests
133 remote: adding file changes 133 remote: adding file changes
134 remote: added 1 changesets with 1 changes to 1 files 134 remote: added 1 changesets with 1 changes to 1 files
135 135
136 The largefiles extension doesn't crash 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 The fsmonitor extension is incompatible with the largefiles extension and has been disabled. (fsmonitor !) 138 The fsmonitor extension is incompatible with the largefiles extension and has been disabled. (fsmonitor !)
139 The fsmonitor extension is incompatible with the largefiles extension and has been disabled. (fsmonitor !) 139 The fsmonitor extension is incompatible with the largefiles extension and has been disabled. (fsmonitor !)
140 searching for changes 140 searching for changes
141 remote: adding changesets 141 remote: adding changesets
142 remote: adding manifests 142 remote: adding manifests
143 remote: adding file changes 143 remote: adding file changes
144 remote: added 1 changesets with 1 changes to 1 files 144 remote: added 1 changesets with 1 changes to 1 files
145 145
146 init to existing repo 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 abort: repository remote1 already exists! 149 abort: repository remote1 already exists!
150 abort: could not create remote repo! 150 abort: could not create remote repo!
151 [255] 151 [255]
152 152
153 clone to existing repo 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 abort: repository remote1 already exists! 156 abort: repository remote1 already exists!
157 abort: could not create remote repo! 157 abort: could not create remote repo!
158 [255] 158 [255]
159 159
160 output of dummyssh 160 output of dummyssh
249 clone bookmarks 249 clone bookmarks
250 250
251 $ hg -R local bookmark test 251 $ hg -R local bookmark test
252 $ hg -R local bookmarks 252 $ hg -R local bookmarks
253 * test 0:08b9e9f63b32 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 searching for changes 255 searching for changes
256 remote: adding changesets 256 remote: adding changesets
257 remote: adding manifests 257 remote: adding manifests
258 remote: adding file changes 258 remote: adding file changes
259 remote: added 1 changesets with 1 changes to 1 files 259 remote: added 1 changesets with 1 changes to 1 files