streamclone: add a comment about non-publishing being broken with v1 stable
authorBoris Feld <boris.feld@octobus.net>
Fri, 26 Jan 2018 16:01:42 +0100
branchstable
changeset 35805 784ac51f8bab
parent 35804 2d3e486d09d0
child 35806 ab239e3de23b
streamclone: add a comment about non-publishing being broken with v1 This change was suggested by Gregory Szorc.
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