Mercurial > hg
comparison tests/test-fetch @ 5798:86f5d8f608b7
fetch: hide authentication details
author | Bryan O'Sullivan <bos@serpentine.com> |
---|---|
date | Fri, 04 Jan 2008 11:58:27 -0800 |
parents | 61fcd9fac434 |
children | 0b6f12495276 |
comparison
equal
deleted
inserted
replaced
5797:7b7f03c7dfa5 | 5798:86f5d8f608b7 |
---|---|
18 hg --cwd b fetch ../a | 18 hg --cwd b fetch ../a |
19 hg --cwd b parents -q | 19 hg --cwd b parents -q |
20 | 20 |
21 echo c > c/c | 21 echo c > c/c |
22 hg --cwd c commit -d '3 0' -Amc | 22 hg --cwd c commit -d '3 0' -Amc |
23 | |
24 hg clone c d | |
25 hg clone c e | |
26 | |
23 hg --cwd c fetch -d '4 0' -m 'automated merge' ../a | 27 hg --cwd c fetch -d '4 0' -m 'automated merge' ../a |
24 ls c | 28 ls c |
29 | |
30 hg --cwd a serve -a localhost -p $HGPORT -d --pid-file=hg.pid | |
31 cat a/hg.pid >> "$DAEMON_PIDS" | |
32 | |
33 echo '% fetch over http, no auth' | |
34 hg --cwd d fetch -d '5 0' http://localhost:$HGPORT/ | |
35 hg --cwd d tip --template '{desc}\n' | |
36 | |
37 echo '% fetch over http with auth (should be hidden in desc)' | |
38 hg --cwd e fetch -d '5 0' http://user:password@localhost:$HGPORT/ | |
39 hg --cwd e tip --template '{desc}\n' |