tests/test-clone-stream.t
changeset 49825 2f2682f40ea0
parent 48990 d9ed7c5e915d
child 50281 2cf264e9aa75
equal deleted inserted replaced
49824:fdd227585d5a 49825:2f2682f40ea0
    92   updating to branch default
    92   updating to branch default
    93   1088 files updated, 0 files merged, 0 files removed, 0 files unresolved
    93   1088 files updated, 0 files merged, 0 files removed, 0 files unresolved
    94 
    94 
    95 Check that the clone went well
    95 Check that the clone went well
    96 
    96 
    97   $ hg verify -R local-clone
    97   $ hg verify -R local-clone -q
    98   checking changesets
       
    99   checking manifests
       
   100   crosschecking files in changesets and manifests
       
   101   checking files
       
   102   checked 3 changesets with 1088 changes to 1088 files
       
   103 
    98 
   104 Check uncompressed
    99 Check uncompressed
   105 ==================
   100 ==================
   106 
   101 
   107 Cannot stream clone when server.uncompressed is set
   102 Cannot stream clone when server.uncompressed is set
   649   1096 files to transfer, 99.1 KB of data (zstd !)
   644   1096 files to transfer, 99.1 KB of data (zstd !)
   650   transferred 99.1 KB in * seconds (* */sec) (glob) (zstd !)
   645   transferred 99.1 KB in * seconds (* */sec) (glob) (zstd !)
   651   updating to branch default
   646   updating to branch default
   652   1088 files updated, 0 files merged, 0 files removed, 0 files unresolved
   647   1088 files updated, 0 files merged, 0 files removed, 0 files unresolved
   653 #endif
   648 #endif
   654   $ hg verify -R with-bookmarks
   649   $ hg verify -R with-bookmarks -q
   655   checking changesets
       
   656   checking manifests
       
   657   crosschecking files in changesets and manifests
       
   658   checking files
       
   659   checked 3 changesets with 1088 changes to 1088 files
       
   660   $ hg -R with-bookmarks bookmarks
   650   $ hg -R with-bookmarks bookmarks
   661      some-bookmark             2:5223b5e3265f
   651      some-bookmark             2:5223b5e3265f
   662 
   652 
   663 Stream repository with phases
   653 Stream repository with phases
   664 -----------------------------
   654 -----------------------------
   690   1096 files to transfer, 99.1 KB of data (zstd !)
   680   1096 files to transfer, 99.1 KB of data (zstd !)
   691   transferred 99.1 KB in * seconds (* */sec) (glob) (zstd !)
   681   transferred 99.1 KB in * seconds (* */sec) (glob) (zstd !)
   692   updating to branch default
   682   updating to branch default
   693   1088 files updated, 0 files merged, 0 files removed, 0 files unresolved
   683   1088 files updated, 0 files merged, 0 files removed, 0 files unresolved
   694 #endif
   684 #endif
   695   $ hg verify -R phase-publish
   685   $ hg verify -R phase-publish -q
   696   checking changesets
       
   697   checking manifests
       
   698   crosschecking files in changesets and manifests
       
   699   checking files
       
   700   checked 3 changesets with 1088 changes to 1088 files
       
   701   $ hg -R phase-publish phase -r 'all()'
   686   $ hg -R phase-publish phase -r 'all()'
   702   0: public
   687   0: public
   703   1: public
   688   1: public
   704   2: public
   689   2: public
   705 
   690 
   745   $ hg -R phase-no-publish phase -r 'all()'
   730   $ hg -R phase-no-publish phase -r 'all()'
   746   0: draft
   731   0: draft
   747   1: draft
   732   1: draft
   748   2: draft
   733   2: draft
   749 #endif
   734 #endif
   750   $ hg verify -R phase-no-publish
   735   $ hg verify -R phase-no-publish -q
   751   checking changesets
       
   752   checking manifests
       
   753   crosschecking files in changesets and manifests
       
   754   checking files
       
   755   checked 3 changesets with 1088 changes to 1088 files
       
   756 
   736 
   757   $ killdaemons.py
   737   $ killdaemons.py
   758 
   738 
   759 #if stream-legacy
   739 #if stream-legacy
   760 
   740 
   799   2: draft
   779   2: draft
   800   1: draft
   780   1: draft
   801   0: draft
   781   0: draft
   802   $ hg debugobsolete -R with-obsolescence
   782   $ hg debugobsolete -R with-obsolescence
   803   8c206a663911c1f97f2f9d7382e417ae55872cfa 0 {5223b5e3265f0df40bb743da62249413d74ac70f} (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'}
   783   8c206a663911c1f97f2f9d7382e417ae55872cfa 0 {5223b5e3265f0df40bb743da62249413d74ac70f} (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'}
   804   $ hg verify -R with-obsolescence
   784   $ hg verify -R with-obsolescence -q
   805   checking changesets
       
   806   checking manifests
       
   807   crosschecking files in changesets and manifests
       
   808   checking files
       
   809   checked 4 changesets with 1089 changes to 1088 files
       
   810 
   785 
   811   $ hg clone -U --stream --config experimental.evolution=0 http://localhost:$HGPORT with-obsolescence-no-evolution
   786   $ hg clone -U --stream --config experimental.evolution=0 http://localhost:$HGPORT with-obsolescence-no-evolution
   812   streaming all changes
   787   streaming all changes
   813   remote: abort: server has obsolescence markers, but client cannot receive them via stream clone
   788   remote: abort: server has obsolescence markers, but client cannot receive them via stream clone
   814   abort: pull failed on remote
   789   abort: pull failed on remote