comparison tests/test-clone-uncompressed.t @ 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 4fb2bb61597c
children ab239e3de23b
comparison
equal deleted inserted replaced
35804:2d3e486d09d0 35805:784ac51f8bab
477 $ killdaemons.py 477 $ killdaemons.py
478 $ hg -R server serve -p $HGPORT -d --pid-file=hg.pid 478 $ hg -R server serve -p $HGPORT -d --pid-file=hg.pid
479 $ cat hg.pid > $DAEMON_PIDS 479 $ cat hg.pid > $DAEMON_PIDS
480 480
481 #if stream-legacy 481 #if stream-legacy
482
483 With v1 of the stream protocol, changeset are always cloned as public. It make
484 stream v1 unsuitable for non-publishing repository.
485
482 $ hg clone --stream http://localhost:$HGPORT phase-no-publish 486 $ hg clone --stream http://localhost:$HGPORT phase-no-publish
483 streaming all changes 487 streaming all changes
484 1027 files to transfer, 96.3 KB of data 488 1027 files to transfer, 96.3 KB of data
485 transferred 96.3 KB in * seconds (*) (glob) 489 transferred 96.3 KB in * seconds (*) (glob)
486 searching for changes 490 searching for changes