changeset 35805:784ac51f8bab stable

streamclone: add a comment about non-publishing being broken with v1 This change was suggested by Gregory Szorc.
author Boris Feld <boris.feld@octobus.net>
date Fri, 26 Jan 2018 16:01:42 +0100
parents 2d3e486d09d0
children ab239e3de23b
files tests/test-clone-uncompressed.t
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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