equal
deleted
inserted
replaced
179 > --pid-file=pid --config server.preferuncompressed=True -E ../errors2.log \ |
179 > --pid-file=pid --config server.preferuncompressed=True -E ../errors2.log \ |
180 > --config web.push_ssl=False --config web.allow_push=* -A ../access.log |
180 > --config web.push_ssl=False --config web.allow_push=* -A ../access.log |
181 $ cat pid >> $DAEMON_PIDS |
181 $ cat pid >> $DAEMON_PIDS |
182 |
182 |
183 $ cat << EOF > get_pass.py |
183 $ cat << EOF > get_pass.py |
184 > import getpass |
184 > from mercurial import util |
185 > def newgetpass(arg): |
185 > def newgetpass(): |
186 > return "pass" |
186 > return "pass" |
187 > getpass.getpass = newgetpass |
187 > util.get_password = newgetpass |
188 > EOF |
188 > EOF |
189 |
189 |
190 $ hg id http://localhost:$HGPORT2/ |
190 $ hg id http://localhost:$HGPORT2/ |
191 abort: http authorization required for http://localhost:$HGPORT2/ |
191 abort: http authorization required for http://localhost:$HGPORT2/ |
192 [255] |
192 [255] |