Mercurial > hg
comparison tests/test-http @ 2613:479e26afa10f
clone: do not make streaming default. add --stream option instead.
author | Vadim Gelfer <vadim.gelfer@gmail.com> |
---|---|
date | Fri, 14 Jul 2006 14:51:36 -0700 |
parents | ffb895f16925 |
children | 5a5852a417b1 |
comparison
equal
deleted
inserted
replaced
2612:ffb895f16925 | 2613:479e26afa10f |
---|---|
10 hg serve -p 20059 -d --pid-file=hg.pid | 10 hg serve -p 20059 -d --pid-file=hg.pid |
11 cat hg.pid >> $DAEMON_PIDS | 11 cat hg.pid >> $DAEMON_PIDS |
12 cd .. | 12 cd .. |
13 | 13 |
14 echo % clone via stream | 14 echo % clone via stream |
15 http_proxy= hg clone http://localhost:20059/ copy 2>&1 | \ | 15 http_proxy= hg clone --stream http://localhost:20059/ copy 2>&1 | \ |
16 sed -e 's/[0-9][0-9.]*/XXX/g' | 16 sed -e 's/[0-9][0-9.]*/XXX/g' |
17 cd copy | 17 cd copy |
18 hg verify | 18 hg verify |
19 | 19 |
20 cd .. | 20 cd .. |
21 | 21 |
22 echo % clone via pull | 22 echo % clone via pull |
23 http_proxy= hg clone --pull http://localhost:20059/ copy-pull | 23 http_proxy= hg clone http://localhost:20059/ copy-pull |
24 cd copy-pull | 24 cd copy-pull |
25 hg verify | 25 hg verify |