tests/test-treemanifest.t
changeset 49825 2f2682f40ea0
parent 49252 4141951dacff
child 49826 c84844cd523a
equal deleted inserted replaced
49824:fdd227585d5a 49825:2f2682f40ea0
   397   adding manifests
   397   adding manifests
   398   adding file changes
   398   adding file changes
   399   added 11 changesets with 15 changes to 10 files (+3 heads)
   399   added 11 changesets with 15 changes to 10 files (+3 heads)
   400   $ hg debugrequires -R clone | grep treemanifest
   400   $ hg debugrequires -R clone | grep treemanifest
   401   treemanifest
   401   treemanifest
   402   $ hg -R clone verify
   402   $ hg -R clone verify -q
   403   checking changesets
       
   404   checking manifests
       
   405   checking directory manifests
       
   406   crosschecking files in changesets and manifests
       
   407   checking files
       
   408   checked 11 changesets with 15 changes to 10 files
       
   409 
   403 
   410 Create deeper repo with tree manifests.
   404 Create deeper repo with tree manifests.
   411 
   405 
   412   $ hg --config experimental.treemanifest=True init deeprepo
   406   $ hg --config experimental.treemanifest=True init deeprepo
   413   $ cd deeprepo
   407   $ cd deeprepo
   565   $ hg ci -m narf
   559   $ hg ci -m narf
   566   $ echo troz >> b/bar/orange/fly/gnat.py
   560   $ echo troz >> b/bar/orange/fly/gnat.py
   567   $ hg ci -m troz
   561   $ hg ci -m troz
   568 
   562 
   569 Verify works
   563 Verify works
   570   $ hg verify
   564   $ hg verify -q
   571   checking changesets
       
   572   checking manifests
       
   573   checking directory manifests
       
   574   crosschecking files in changesets and manifests
       
   575   checking files
       
   576   checked 4 changesets with 18 changes to 8 files
       
   577 
   565 
   578 #if repofncache
   566 #if repofncache
   579 Dirlogs are included in fncache
   567 Dirlogs are included in fncache
   580   $ grep meta/.A/00manifest.i .hg/store/fncache
   568   $ grep meta/.A/00manifest.i .hg/store/fncache
   581   meta/.A/00manifest.i
   569   meta/.A/00manifest.i
   705   deepclone/.hg/store/meta/b/foo/apple/bees/00manifest.i
   693   deepclone/.hg/store/meta/b/foo/apple/bees/00manifest.i
   706   deepclone/.hg/store/meta/~2e_a (reporevlogstore !)
   694   deepclone/.hg/store/meta/~2e_a (reporevlogstore !)
   707   deepclone/.hg/store/meta/~2e_a/00manifest.i (reporevlogstore !)
   695   deepclone/.hg/store/meta/~2e_a/00manifest.i (reporevlogstore !)
   708 Verify passes.
   696 Verify passes.
   709   $ cd deepclone
   697   $ cd deepclone
   710   $ hg verify
   698   $ hg verify -q
   711   checking changesets
       
   712   checking manifests
       
   713   checking directory manifests
       
   714   crosschecking files in changesets and manifests
       
   715   checking files
       
   716   checked 4 changesets with 18 changes to 8 files
       
   717   $ cd ..
   699   $ cd ..
   718 
   700 
   719 #if reporevlogstore
   701 #if reporevlogstore
   720 Create clones using old repo formats to use in later tests
   702 Create clones using old repo formats to use in later tests
   721   $ hg clone --config format.usestore=False \
   703   $ hg clone --config format.usestore=False \
   753   $ cat hg.pid >> $DAEMON_PIDS
   735   $ cat hg.pid >> $DAEMON_PIDS
   754   $ cd ..
   736   $ cd ..
   755 
   737 
   756 Local clone with basicstore
   738 Local clone with basicstore
   757   $ hg clone -U deeprepo-basicstore local-clone-basicstore
   739   $ hg clone -U deeprepo-basicstore local-clone-basicstore
   758   $ hg -R local-clone-basicstore verify
   740   $ hg -R local-clone-basicstore verify -q
   759   checking changesets
       
   760   checking manifests
       
   761   checking directory manifests
       
   762   crosschecking files in changesets and manifests
       
   763   checking files
       
   764   checked 4 changesets with 18 changes to 8 files
       
   765 
   741 
   766 Local clone with encodedstore
   742 Local clone with encodedstore
   767   $ hg clone -U deeprepo-encodedstore local-clone-encodedstore
   743   $ hg clone -U deeprepo-encodedstore local-clone-encodedstore
   768   $ hg -R local-clone-encodedstore verify
   744   $ hg -R local-clone-encodedstore verify -q
   769   checking changesets
       
   770   checking manifests
       
   771   checking directory manifests
       
   772   crosschecking files in changesets and manifests
       
   773   checking files
       
   774   checked 4 changesets with 18 changes to 8 files
       
   775 
   745 
   776 Local clone with fncachestore
   746 Local clone with fncachestore
   777   $ hg clone -U deeprepo local-clone-fncachestore
   747   $ hg clone -U deeprepo local-clone-fncachestore
   778   $ hg -R local-clone-fncachestore verify
   748   $ hg -R local-clone-fncachestore verify -q
   779   checking changesets
       
   780   checking manifests
       
   781   checking directory manifests
       
   782   crosschecking files in changesets and manifests
       
   783   checking files
       
   784   checked 4 changesets with 18 changes to 8 files
       
   785 
   749 
   786 Stream clone with basicstore
   750 Stream clone with basicstore
   787   $ hg clone --config experimental.changegroup3=True --stream -U \
   751   $ hg clone --config experimental.changegroup3=True --stream -U \
   788   >   http://localhost:$HGPORT1 stream-clone-basicstore
   752   >   http://localhost:$HGPORT1 stream-clone-basicstore
   789   streaming all changes
   753   streaming all changes
   790   28 files to transfer, * of data (glob)
   754   28 files to transfer, * of data (glob)
   791   transferred * in * seconds (*) (glob)
   755   transferred * in * seconds (*) (glob)
   792   $ hg -R stream-clone-basicstore verify
   756   $ hg -R stream-clone-basicstore verify -q
   793   checking changesets
       
   794   checking manifests
       
   795   checking directory manifests
       
   796   crosschecking files in changesets and manifests
       
   797   checking files
       
   798   checked 4 changesets with 18 changes to 8 files
       
   799 
   757 
   800 Stream clone with encodedstore
   758 Stream clone with encodedstore
   801   $ hg clone --config experimental.changegroup3=True --stream -U \
   759   $ hg clone --config experimental.changegroup3=True --stream -U \
   802   >   http://localhost:$HGPORT2 stream-clone-encodedstore
   760   >   http://localhost:$HGPORT2 stream-clone-encodedstore
   803   streaming all changes
   761   streaming all changes
   804   28 files to transfer, * of data (glob)
   762   28 files to transfer, * of data (glob)
   805   transferred * in * seconds (*) (glob)
   763   transferred * in * seconds (*) (glob)
   806   $ hg -R stream-clone-encodedstore verify
   764   $ hg -R stream-clone-encodedstore verify -q
   807   checking changesets
       
   808   checking manifests
       
   809   checking directory manifests
       
   810   crosschecking files in changesets and manifests
       
   811   checking files
       
   812   checked 4 changesets with 18 changes to 8 files
       
   813 
   765 
   814 Stream clone with fncachestore
   766 Stream clone with fncachestore
   815   $ hg clone --config experimental.changegroup3=True --stream -U \
   767   $ hg clone --config experimental.changegroup3=True --stream -U \
   816   >   http://localhost:$HGPORT stream-clone-fncachestore
   768   >   http://localhost:$HGPORT stream-clone-fncachestore
   817   streaming all changes
   769   streaming all changes
   818   22 files to transfer, * of data (glob)
   770   22 files to transfer, * of data (glob)
   819   transferred * in * seconds (*) (glob)
   771   transferred * in * seconds (*) (glob)
   820   $ hg -R stream-clone-fncachestore verify
   772   $ hg -R stream-clone-fncachestore verify -q
   821   checking changesets
       
   822   checking manifests
       
   823   checking directory manifests
       
   824   crosschecking files in changesets and manifests
       
   825   checking files
       
   826   checked 4 changesets with 18 changes to 8 files
       
   827 
   773 
   828 Packed bundle
   774 Packed bundle
   829   $ hg -R deeprepo debugcreatestreamclonebundle repo-packed.hg
   775   $ hg -R deeprepo debugcreatestreamclonebundle repo-packed.hg
   830   writing 5330 bytes for 18 files (no-zstd !)
   776   writing 5330 bytes for 18 files (no-zstd !)
   831   writing 5400 bytes for 18 files (zstd !)
   777   writing 5400 bytes for 18 files (zstd !)