Mercurial > hg
changeset 47783:085ebc80f84b stable
clone: test local clone in `test-clone-uncompressed.t` too
This is not an uncompressed test but needs to be tested in the same kind of
constraints regarding special file name.
Differential Revision: https://phab.mercurial-scm.org/D11218
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Tue, 27 Jul 2021 19:16:30 +0200 |
parents | ebfc315c6077 |
children | 17211649bac2 |
files | tests/test-clone-uncompressed.t |
diffstat | 1 files changed, 13 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/test-clone-uncompressed.t Tue Jul 27 00:49:16 2021 +0200 +++ b/tests/test-clone-uncompressed.t Tue Jul 27 19:16:30 2021 +0200 @@ -156,6 +156,19 @@ $ cat hg.pid > $DAEMON_PIDS $ cd .. +Check local clone +================== + +The logic is close enough of uncompressed. +This is present here to reuse the testing around file with "special" names. + + $ hg clone server local-clone + updating to branch default + 1086 files updated, 0 files merged, 0 files removed, 0 files unresolved + +Check uncompressed +================== + Cannot stream clone when server.uncompressed is set $ get-with-headers.py $LOCALIP:$HGPORT '?cmd=stream_out'