D11218: clone: test local clone in `test-clone-uncompressed.t` too

marmoute (Pierre-Yves David) phabricator at mercurial-scm.org
Tue Jul 27 20:15:19 UTC 2021


marmoute created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.

REVISION SUMMARY
  This is not an uncompressed test but needs to be tested in the same kind of
  constraints regarding special file name.

REPOSITORY
  rHG Mercurial

BRANCH
  stable

REVISION DETAIL
  https://phab.mercurial-scm.org/D11218

AFFECTED FILES
  tests/test-clone-uncompressed.t

CHANGE DETAILS

diff --git a/tests/test-clone-uncompressed.t b/tests/test-clone-uncompressed.t
--- a/tests/test-clone-uncompressed.t
+++ b/tests/test-clone-uncompressed.t
@@ -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'



To: marmoute, #hg-reviewers
Cc: mercurial-patches, mercurial-devel


More information about the Mercurial-devel mailing list