Show More
@@ -192,10 +192,10 b' test http authentication' | |||
|
192 | 192 | $ cat pid >> $DAEMON_PIDS |
|
193 | 193 | |
|
194 | 194 | $ cat << EOF > get_pass.py |
|
195 | > import getpass | |
|
196 |
> def newgetpass( |
|
|
195 | > from mercurial import util | |
|
196 | > def newgetpass(): | |
|
197 | 197 | > return "pass" |
|
198 |
> |
|
|
198 | > util.get_password = newgetpass | |
|
199 | 199 | > EOF |
|
200 | 200 | |
|
201 | 201 | $ hg id http://localhost:$HGPORT2/ |
@@ -181,10 +181,10 b' test http authentication' | |||
|
181 | 181 | $ cat pid >> $DAEMON_PIDS |
|
182 | 182 | |
|
183 | 183 | $ cat << EOF > get_pass.py |
|
184 | > import getpass | |
|
185 |
> def newgetpass( |
|
|
184 | > from mercurial import util | |
|
185 | > def newgetpass(): | |
|
186 | 186 | > return "pass" |
|
187 |
> |
|
|
187 | > util.get_password = newgetpass | |
|
188 | 188 | > EOF |
|
189 | 189 | |
|
190 | 190 | $ hg id http://localhost:$HGPORT2/ |
@@ -425,10 +425,10 b' a large file from the server rather than' | |||
|
425 | 425 | > -d -p $HGPORT --pid-file hg.pid -A access.log |
|
426 | 426 | $ cat hg.pid >> $DAEMON_PIDS |
|
427 | 427 | $ cat << EOF > get_pass.py |
|
428 | > import getpass | |
|
429 |
> def newgetpass( |
|
|
428 | > from mercurial import util | |
|
429 | > def newgetpass(): | |
|
430 | 430 | > return "pass" |
|
431 |
> |
|
|
431 | > util.get_password = newgetpass | |
|
432 | 432 | > EOF |
|
433 | 433 | $ hg clone --config ui.interactive=true --config extensions.getpass=get_pass.py \ |
|
434 | 434 | > http://user@localhost:$HGPORT credentialclone |
General Comments 0
You need to be logged in to leave comments.
Login now