# HG changeset patch # User Boris Feld # Date 1516978902 -3600 # Node ID 784ac51f8bab7709641968f7efd160b60b8534f3 # Parent 2d3e486d09d02b81f4fe094a8078e678b581bdc0 streamclone: add a comment about non-publishing being broken with v1 This change was suggested by Gregory Szorc. diff -r 2d3e486d09d0 -r 784ac51f8bab tests/test-clone-uncompressed.t --- a/tests/test-clone-uncompressed.t Fri Jan 26 15:51:07 2018 +0100 +++ b/tests/test-clone-uncompressed.t Fri Jan 26 16:01:42 2018 +0100 @@ -479,6 +479,10 @@ $ cat hg.pid > $DAEMON_PIDS #if stream-legacy + +With v1 of the stream protocol, changeset are always cloned as public. It make +stream v1 unsuitable for non-publishing repository. + $ hg clone --stream http://localhost:$HGPORT phase-no-publish streaming all changes 1027 files to transfer, 96.3 KB of data