Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • mercurial/mercurial-devel
1 result
Show changes
Showing
with 55 additions and 129 deletions
#require no-reposimplestore no-chg #require no-chg
initial setup initial setup
......
#require no-reposimplestore no-chg #require no-chg
Set up a server Set up a server
......
#require reporevlogstore
$ CONTRIBDIR="$TESTDIR/../contrib" $ CONTRIBDIR="$TESTDIR/../contrib"
$ hg init repo-a $ hg init repo-a
......
...@@ -251,7 +251,6 @@ ...@@ -251,7 +251,6 @@
$ hg perfdirstatedirs $ hg perfdirstatedirs
$ hg perfdirstatefoldmap $ hg perfdirstatefoldmap
$ hg perfdirstatewrite $ hg perfdirstatewrite
#if repofncache
$ hg perffncacheencode $ hg perffncacheencode
$ hg perffncacheload $ hg perffncacheload
$ hg debugrebuildfncache $ hg debugrebuildfncache
...@@ -259,7 +258,6 @@ ...@@ -259,7 +258,6 @@
$ hg perffncachewrite $ hg perffncachewrite
$ hg debugrebuildfncache $ hg debugrebuildfncache
fncache already up to date fncache already up to date
#endif
$ hg perfheads $ hg perfheads
$ hg perfignore $ hg perfignore
$ hg perfindex $ hg perfindex
...@@ -280,5 +278,4 @@ ...@@ -280,5 +278,4 @@
$ hg perfprogress --total 1000 $ hg perfprogress --total 1000
$ hg perfrawfiles 2 $ hg perfrawfiles 2
$ hg perfrevlogindex -c $ hg perfrevlogindex -c
#if reporevlogstore
$ hg perfrevlogrevisions .hg/store/data/a.i $ hg perfrevlogrevisions .hg/store/data/a.i
...@@ -284,5 +281,4 @@ ...@@ -284,5 +281,4 @@
$ hg perfrevlogrevisions .hg/store/data/a.i $ hg perfrevlogrevisions .hg/store/data/a.i
#endif
#if no-rust #if no-rust
Cannot test in Rust because this these are highly invasive and expect a certain Cannot test in Rust because this these are highly invasive and expect a certain
......
...@@ -283,6 +283,5 @@ ...@@ -283,6 +283,5 @@
> exclude dir/subdir > exclude dir/subdir
> include dir/subdir/file3 > include dir/subdir/file3
> EOF > EOF
#if reporevlogstore
$ rm source/.hg/store/data/dir/file3.i $ rm source/.hg/store/data/dir/file3.i
$ rm source/.hg/store/data/dir/file4.i $ rm source/.hg/store/data/dir/file4.i
...@@ -287,8 +286,3 @@ ...@@ -287,8 +286,3 @@
$ rm source/.hg/store/data/dir/file3.i $ rm source/.hg/store/data/dir/file3.i
$ rm source/.hg/store/data/dir/file4.i $ rm source/.hg/store/data/dir/file4.i
#endif
#if reposimplestore
$ rm -rf source/.hg/store/data/dir/file3
$ rm -rf source/.hg/store/data/dir/file4
#endif
$ hg -q convert --filemap renames.fmap --datesort source dummydest $ hg -q convert --filemap renames.fmap --datesort source dummydest
...@@ -294,5 +288,4 @@ ...@@ -294,5 +288,4 @@
$ hg -q convert --filemap renames.fmap --datesort source dummydest $ hg -q convert --filemap renames.fmap --datesort source dummydest
abort: dir/file3@e96dce0bc6a217656a3a410e5e6bec2c4f42bf7c: no match found (reporevlogstore !) abort: dir/file3@e96dce0bc6a217656a3a410e5e6bec2c4f42bf7c: no match found
abort: data/dir/file3/index@e96dce0bc6a2: no node (reposimplestore !)
[50] [50]
$ hg -q convert --filemap renames.fmap --datesort --config convert.hg.ignoreerrors=1 source renames.repo $ hg -q convert --filemap renames.fmap --datesort --config convert.hg.ignoreerrors=1 source renames.repo
...@@ -297,9 +290,7 @@ ...@@ -297,9 +290,7 @@
[50] [50]
$ hg -q convert --filemap renames.fmap --datesort --config convert.hg.ignoreerrors=1 source renames.repo $ hg -q convert --filemap renames.fmap --datesort --config convert.hg.ignoreerrors=1 source renames.repo
ignoring: dir/file3@e96dce0bc6a217656a3a410e5e6bec2c4f42bf7c: no match found (reporevlogstore !) ignoring: dir/file3@e96dce0bc6a217656a3a410e5e6bec2c4f42bf7c: no match found
ignoring: dir/file4@6edd55f559cdce67132b12ca09e09cee08b60442: no match found (reporevlogstore !) ignoring: dir/file4@6edd55f559cdce67132b12ca09e09cee08b60442: no match found
ignoring: data/dir/file3/index@e96dce0bc6a2: no node (reposimplestore !)
ignoring: data/dir/file4/index@6edd55f559cd: no node (reposimplestore !)
$ hg up -q -R renames.repo $ hg up -q -R renames.repo
$ glog -R renames.repo $ glog -R renames.repo
@ 4 "8: change foo" files: foo2 @ 4 "8: change foo" files: foo2
......
...@@ -169,5 +169,4 @@ ...@@ -169,5 +169,4 @@
break it break it
#if reporevlogstore
$ rm .hg/store/data/b.* $ rm .hg/store/data/b.*
...@@ -173,8 +172,4 @@ ...@@ -173,8 +172,4 @@
$ rm .hg/store/data/b.* $ rm .hg/store/data/b.*
#endif
#if reposimplestore
$ rm .hg/store/data/b/*
#endif
$ cd .. $ cd ..
$ hg --config convert.hg.ignoreerrors=True convert broken fixed $ hg --config convert.hg.ignoreerrors=True convert broken fixed
initializing destination fixed repository initializing destination fixed repository
...@@ -182,8 +177,7 @@ ...@@ -182,8 +177,7 @@
sorting... sorting...
converting... converting...
4 init 4 init
ignoring: b@1e88685f5ddec574a34c70af492f95b6debc8741: no match found (reporevlogstore !) ignoring: b@1e88685f5ddec574a34c70af492f95b6debc8741: no match found
ignoring: data/b/index@1e88685f5dde: no node (reposimplestore !)
3 changeall 3 changeall
2 changebagain 2 changebagain
1 merge 1 merge
......
...@@ -532,5 +532,4 @@ ...@@ -532,5 +532,4 @@
contents of fncache file: contents of fncache file:
#if repofncache
$ cat b/.hg/store/fncache | sort $ cat b/.hg/store/fncache | sort
...@@ -536,7 +535,6 @@ ...@@ -536,7 +535,6 @@
$ cat b/.hg/store/fncache | sort $ cat b/.hg/store/fncache | sort
data/a.i (reporevlogstore !) data/a.i
data/b.i (reporevlogstore !) data/b.i
#endif
test bogus URL test bogus URL
......
...@@ -86,6 +86,5 @@ ...@@ -86,6 +86,5 @@
copy: a copy: a
copyrev: b789fdd96dc2f3bd229c1dd8eedf0fc60e2b68e3 copyrev: b789fdd96dc2f3bd229c1dd8eedf0fc60e2b68e3
#if reporevlogstore
$ md5sum.py .hg/store/data/b.i $ md5sum.py .hg/store/data/b.i
44913824c8f5890ae218f9829535922e .hg/store/data/b.i 44913824c8f5890ae218f9829535922e .hg/store/data/b.i
...@@ -90,6 +89,5 @@ ...@@ -90,6 +89,5 @@
$ md5sum.py .hg/store/data/b.i $ md5sum.py .hg/store/data/b.i
44913824c8f5890ae218f9829535922e .hg/store/data/b.i 44913824c8f5890ae218f9829535922e .hg/store/data/b.i
#endif
$ hg cat b > bsum $ hg cat b > bsum
$ md5sum.py bsum $ md5sum.py bsum
60b725f10c9c85c70d97880dfe8191b3 bsum 60b725f10c9c85c70d97880dfe8191b3 bsum
......
...@@ -14,7 +14,6 @@ ...@@ -14,7 +14,6 @@
$ hg revert --all -r 0 $ hg revert --all -r 0
adding a adding a
$ hg ci -Am make-it-full $ hg ci -Am make-it-full
#if reporevlogstore
$ hg debugrevlog -c $ hg debugrevlog -c
format : 1 format : 1
flags : (none) flags : (none)
...@@ -125,10 +124,9 @@ ...@@ -125,10 +124,9 @@
full revision size (min/max/avg) : 3 / 3 / 3 full revision size (min/max/avg) : 3 / 3 / 3
inter-snapshot size (min/max/avg) : 0 / 0 / 0 inter-snapshot size (min/max/avg) : 0 / 0 / 0
delta size (min/max/avg) : 0 / 0 / 0 delta size (min/max/avg) : 0 / 0 / 0
#endif
Test debugindex, with and without the --verbose/--debug flag Test debugindex, with and without the --verbose/--debug flag
$ hg debugrevlogindex a $ hg debugrevlogindex a
rev linkrev nodeid p1 p2 rev linkrev nodeid p1 p2
0 0 b789fdd96dc2 000000000000 000000000000 0 0 b789fdd96dc2 000000000000 000000000000
...@@ -129,10 +127,9 @@ ...@@ -129,10 +127,9 @@
Test debugindex, with and without the --verbose/--debug flag Test debugindex, with and without the --verbose/--debug flag
$ hg debugrevlogindex a $ hg debugrevlogindex a
rev linkrev nodeid p1 p2 rev linkrev nodeid p1 p2
0 0 b789fdd96dc2 000000000000 000000000000 0 0 b789fdd96dc2 000000000000 000000000000
#if no-reposimplestore
$ hg --verbose debugrevlogindex a $ hg --verbose debugrevlogindex a
rev offset length linkrev nodeid p1 p2 rev offset length linkrev nodeid p1 p2
0 0 3 0 b789fdd96dc2 000000000000 000000000000 0 0 3 0 b789fdd96dc2 000000000000 000000000000
...@@ -140,9 +137,8 @@ ...@@ -140,9 +137,8 @@
$ hg --debug debugrevlogindex a $ hg --debug debugrevlogindex a
rev offset length linkrev nodeid p1 p2 rev offset length linkrev nodeid p1 p2
0 0 3 0 b789fdd96dc2f3bd229c1dd8eedf0fc60e2b68e3 0000000000000000000000000000000000000000 0000000000000000000000000000000000000000 0 0 3 0 b789fdd96dc2f3bd229c1dd8eedf0fc60e2b68e3 0000000000000000000000000000000000000000 0000000000000000000000000000000000000000
#endif
$ hg debugrevlogindex -f 1 a $ hg debugrevlogindex -f 1 a
rev flag size link p1 p2 nodeid rev flag size link p1 p2 nodeid
0 0000 2 0 -1 -1 b789fdd96dc2 0 0000 2 0 -1 -1 b789fdd96dc2
...@@ -144,9 +140,8 @@ ...@@ -144,9 +140,8 @@
$ hg debugrevlogindex -f 1 a $ hg debugrevlogindex -f 1 a
rev flag size link p1 p2 nodeid rev flag size link p1 p2 nodeid
0 0000 2 0 -1 -1 b789fdd96dc2 0 0000 2 0 -1 -1 b789fdd96dc2
#if no-reposimplestore
$ hg --verbose debugrevlogindex -f 1 a $ hg --verbose debugrevlogindex -f 1 a
rev flag offset length size link p1 p2 nodeid rev flag offset length size link p1 p2 nodeid
0 0000 0 3 2 0 -1 -1 b789fdd96dc2 0 0000 0 3 2 0 -1 -1 b789fdd96dc2
...@@ -154,7 +149,6 @@ ...@@ -154,7 +149,6 @@
$ hg --debug debugrevlogindex -f 1 a $ hg --debug debugrevlogindex -f 1 a
rev flag offset length size link p1 p2 nodeid rev flag offset length size link p1 p2 nodeid
0 0000 0 3 2 0 -1 -1 b789fdd96dc2f3bd229c1dd8eedf0fc60e2b68e3 0 0000 0 3 2 0 -1 -1 b789fdd96dc2f3bd229c1dd8eedf0fc60e2b68e3
#endif
$ hg debugindex -c $ hg debugindex -c
rev linkrev nodeid p1-nodeid p2-nodeid rev linkrev nodeid p1-nodeid p2-nodeid
...@@ -185,12 +179,7 @@ ...@@ -185,12 +179,7 @@
debugdelta chain basic output debugdelta chain basic output
#if reporevlogstore pure rust #if no-pure no-rust
$ hg debugindexstats
abort: debugindexstats only works with native C code
[255]
#endif
#if reporevlogstore no-pure no-rust
$ hg debugindexstats $ hg debugindexstats
node trie capacity: 4 node trie capacity: 4
node trie count: 2 node trie count: 2
...@@ -202,5 +191,9 @@ ...@@ -202,5 +191,9 @@
node trie misses: 1 node trie misses: 1
node trie splits: 1 node trie splits: 1
revs in memory: 3 revs in memory: 3
#else
$ hg debugindexstats
abort: debugindexstats only works with native C code
[255]
#endif #endif
...@@ -205,6 +198,6 @@ ...@@ -205,6 +198,6 @@
#endif #endif
#if reporevlogstore no-pure #if no-pure
$ hg debugdeltachain -m --all-info $ hg debugdeltachain -m --all-info
rev p1 p2 chain# chainlen prev delta size rawsize chainsize ratio lindist extradist extraratio readsize largestblk rddensity srchunks rev p1 p2 chain# chainlen prev delta size rawsize chainsize ratio lindist extradist extraratio readsize largestblk rddensity srchunks
0 -1 -1 1 1 -1 base 44 43 44 1.02326 44 0 0.00000 44 44 1.00000 1 0 -1 -1 1 1 -1 base 44 43 44 1.02326 44 0 0.00000 44 44 1.00000 1
......
...@@ -233,7 +233,6 @@ ...@@ -233,7 +233,6 @@
$ echo '[BASE64]a-bit-longer-branching' > base64 $ echo '[BASE64]a-bit-longer-branching' > base64
$ hg commit -q -m branching $ hg commit -q -m branching
#if repobundlerepo
$ hg bundle --base 1 bundle.hg $ hg bundle --base 1 bundle.hg
4 changesets found 4 changesets found
$ hg --config extensions.strip= strip -r 2 --no-backup --force -q $ hg --config extensions.strip= strip -r 2 --no-backup --force -q
...@@ -290,7 +289,6 @@ ...@@ -290,7 +289,6 @@
1 files changed, 1 insertions(+), 0 deletions(-) 1 files changed, 1 insertions(+), 0 deletions(-)
$ rm bundle.hg bundle-again.hg $ rm bundle.hg bundle-again.hg
#endif
# TEST: hg status # TEST: hg status
......
#require repofncache
An extension which will set fncache chunksize to 1 byte to make sure that logic An extension which will set fncache chunksize to 1 byte to make sure that logic
does not break does not break
...@@ -114,7 +112,7 @@ ...@@ -114,7 +112,7 @@
.hg/wcache/checkisexec (execbit !) .hg/wcache/checkisexec (execbit !)
.hg/wcache/checklink (symlink !) .hg/wcache/checklink (symlink !)
.hg/wcache/checklink-target (symlink !) .hg/wcache/checklink-target (symlink !)
.hg/wcache/manifestfulltextcache (reporevlogstore !) .hg/wcache/manifestfulltextcache
$ cd .. $ cd ..
Non fncache repo: Non fncache repo:
...@@ -156,7 +154,7 @@ ...@@ -156,7 +154,7 @@
.hg/wcache/checkisexec (execbit !) .hg/wcache/checkisexec (execbit !)
.hg/wcache/checklink (symlink !) .hg/wcache/checklink (symlink !)
.hg/wcache/checklink-target (symlink !) .hg/wcache/checklink-target (symlink !)
.hg/wcache/manifestfulltextcache (reporevlogstore !) .hg/wcache/manifestfulltextcache
$ cd .. $ cd ..
Encoding of reserved / long paths in the store Encoding of reserved / long paths in the store
......
#require no-reposimplestore
Check whether size of generaldelta revlog is not bigger than its Check whether size of generaldelta revlog is not bigger than its
regular equivalent. Test would fail if generaldelta was naive regular equivalent. Test would fail if generaldelta was naive
implementation of parentdelta: third manifest revision would be fully implementation of parentdelta: third manifest revision would be fully
......
#require hardlink reporevlogstore #require hardlink
$ cat > nlinks.py <<EOF $ cat > nlinks.py <<EOF
> import sys > import sys
...@@ -51,8 +51,8 @@ ...@@ -51,8 +51,8 @@
1 r1/.hg/store/00manifest.i 1 r1/.hg/store/00manifest.i
1 r1/.hg/store/data/d1/f2.i 1 r1/.hg/store/data/d1/f2.i
1 r1/.hg/store/data/f1.i 1 r1/.hg/store/data/f1.i
1 r1/.hg/store/fncache (repofncache !) 1 r1/.hg/store/fncache
1 r1/.hg/store/phaseroots 1 r1/.hg/store/phaseroots
1 r1/.hg/store/requires 1 r1/.hg/store/requires
1 r1/.hg/store/undo 1 r1/.hg/store/undo
1 r1/.hg/store/undo.backup.00changelog.n.bck (rust !) 1 r1/.hg/store/undo.backup.00changelog.n.bck (rust !)
...@@ -55,8 +55,8 @@ ...@@ -55,8 +55,8 @@
1 r1/.hg/store/phaseroots 1 r1/.hg/store/phaseroots
1 r1/.hg/store/requires 1 r1/.hg/store/requires
1 r1/.hg/store/undo 1 r1/.hg/store/undo
1 r1/.hg/store/undo.backup.00changelog.n.bck (rust !) 1 r1/.hg/store/undo.backup.00changelog.n.bck (rust !)
1 r1/.hg/store/undo.backup.fncache.bck (repofncache !) 1 r1/.hg/store/undo.backup.fncache.bck
1 r1/.hg/store/undo.backupfiles 1 r1/.hg/store/undo.backupfiles
...@@ -108,8 +108,8 @@ ...@@ -108,8 +108,8 @@
2 r1/.hg/store/00manifest.i 2 r1/.hg/store/00manifest.i
2 r1/.hg/store/data/d1/f2.i 2 r1/.hg/store/data/d1/f2.i
2 r1/.hg/store/data/f1.i 2 r1/.hg/store/data/f1.i
1 r1/.hg/store/fncache (repofncache !) 1 r1/.hg/store/fncache
1 r1/.hg/store/phaseroots 1 r1/.hg/store/phaseroots
1 r1/.hg/store/requires 1 r1/.hg/store/requires
1 r1/.hg/store/undo 1 r1/.hg/store/undo
1 r1/.hg/store/undo.backup.00changelog.n.bck (rust !) 1 r1/.hg/store/undo.backup.00changelog.n.bck (rust !)
...@@ -112,8 +112,8 @@ ...@@ -112,8 +112,8 @@
1 r1/.hg/store/phaseroots 1 r1/.hg/store/phaseroots
1 r1/.hg/store/requires 1 r1/.hg/store/requires
1 r1/.hg/store/undo 1 r1/.hg/store/undo
1 r1/.hg/store/undo.backup.00changelog.n.bck (rust !) 1 r1/.hg/store/undo.backup.00changelog.n.bck (rust !)
1 r1/.hg/store/undo.backup.fncache.bck (repofncache !) 1 r1/.hg/store/undo.backup.fncache.bck
1 r1/.hg/store/undo.backupfiles 1 r1/.hg/store/undo.backupfiles
$ nlinksdir r2/.hg/store $ nlinksdir r2/.hg/store
...@@ -124,7 +124,7 @@ ...@@ -124,7 +124,7 @@
2 r2/.hg/store/00manifest.i 2 r2/.hg/store/00manifest.i
2 r2/.hg/store/data/d1/f2.i 2 r2/.hg/store/data/d1/f2.i
2 r2/.hg/store/data/f1.i 2 r2/.hg/store/data/f1.i
1 r2/.hg/store/fncache (repofncache !) 1 r2/.hg/store/fncache
1 r2/.hg/store/requires 1 r2/.hg/store/requires
Repo r3 should not be hardlinked: Repo r3 should not be hardlinked:
...@@ -137,7 +137,7 @@ ...@@ -137,7 +137,7 @@
1 r3/.hg/store/00manifest.i 1 r3/.hg/store/00manifest.i
1 r3/.hg/store/data/d1/f2.i 1 r3/.hg/store/data/d1/f2.i
1 r3/.hg/store/data/f1.i 1 r3/.hg/store/data/f1.i
1 r3/.hg/store/fncache (repofncache !) 1 r3/.hg/store/fncache
1 r3/.hg/store/phaseroots 1 r3/.hg/store/phaseroots
1 r3/.hg/store/requires 1 r3/.hg/store/requires
1 r3/.hg/store/undo 1 r3/.hg/store/undo
...@@ -166,7 +166,7 @@ ...@@ -166,7 +166,7 @@
1 r3/.hg/store/data/d1/f2.d 1 r3/.hg/store/data/d1/f2.d
1 r3/.hg/store/data/d1/f2.i 1 r3/.hg/store/data/d1/f2.i
1 r3/.hg/store/data/f1.i 1 r3/.hg/store/data/f1.i
1 r3/.hg/store/fncache (repofncache !) 1 r3/.hg/store/fncache
1 r3/.hg/store/phaseroots 1 r3/.hg/store/phaseroots
1 r3/.hg/store/requires 1 r3/.hg/store/requires
1 r3/.hg/store/undo 1 r3/.hg/store/undo
...@@ -196,6 +196,6 @@ ...@@ -196,6 +196,6 @@
1 r2/.hg/store/00manifest.i 1 r2/.hg/store/00manifest.i
1 r2/.hg/store/data/d1/f2.i 1 r2/.hg/store/data/d1/f2.i
2 r2/.hg/store/data/f1.i 2 r2/.hg/store/data/f1.i
[12] r2/\.hg/store/fncache (re) (repofncache !) [12] r2/\.hg/store/fncache (re)
1 r2/.hg/store/requires 1 r2/.hg/store/requires
...@@ -200,6 +200,6 @@ ...@@ -200,6 +200,6 @@
1 r2/.hg/store/requires 1 r2/.hg/store/requires
#if hardlink-whitelisted repofncache #if hardlink-whitelisted
$ nlinksdir r2/.hg/store/fncache $ nlinksdir r2/.hg/store/fncache
1 r2/.hg/store/fncache 1 r2/.hg/store/fncache
#endif #endif
...@@ -224,6 +224,6 @@ ...@@ -224,6 +224,6 @@
1 r2/.hg/store/00manifest.i 1 r2/.hg/store/00manifest.i
1 r2/.hg/store/data/d1/f2.i 1 r2/.hg/store/data/d1/f2.i
1 r2/.hg/store/data/f1.i 1 r2/.hg/store/data/f1.i
1 r2/.hg/store/fncache (repofncache !) 1 r2/.hg/store/fncache
1 r2/.hg/store/requires 1 r2/.hg/store/requires
...@@ -228,6 +228,6 @@ ...@@ -228,6 +228,6 @@
1 r2/.hg/store/requires 1 r2/.hg/store/requires
#if hardlink-whitelisted repofncache #if hardlink-whitelisted
$ nlinksdir r2/.hg/store/fncache $ nlinksdir r2/.hg/store/fncache
1 r2/.hg/store/fncache 1 r2/.hg/store/fncache
#endif #endif
...@@ -282,7 +282,7 @@ ...@@ -282,7 +282,7 @@
2 r4/.hg/store/data/d1/f2.i 2 r4/.hg/store/data/d1/f2.i
2 r4/.hg/store/data/f1.i 2 r4/.hg/store/data/f1.i
2 r4/.hg/store/data/f3.i 2 r4/.hg/store/data/f3.i
2 r4/.hg/store/fncache (repofncache !) 2 r4/.hg/store/fncache
2 r4/.hg/store/phaseroots 2 r4/.hg/store/phaseroots
2 r4/.hg/store/requires 2 r4/.hg/store/requires
2 r4/.hg/store/undo 2 r4/.hg/store/undo
...@@ -294,7 +294,7 @@ ...@@ -294,7 +294,7 @@
2 r4/.hg/wcache/checkisexec (execbit !) 2 r4/.hg/wcache/checkisexec (execbit !)
2 r4/.hg/wcache/checklink-target (symlink !) 2 r4/.hg/wcache/checklink-target (symlink !)
2 r4/.hg/wcache/checknoexec (execbit !) 2 r4/.hg/wcache/checknoexec (execbit !)
2 r4/.hg/wcache/manifestfulltextcache (reporevlogstore !) 2 r4/.hg/wcache/manifestfulltextcache
2 r4/d1/data1 2 r4/d1/data1
2 r4/d1/f2 2 r4/d1/f2
2 r4/f1 2 r4/f1
...@@ -347,7 +347,7 @@ ...@@ -347,7 +347,7 @@
2 r4/.hg/wcache/checkisexec (execbit !) 2 r4/.hg/wcache/checkisexec (execbit !)
2 r4/.hg/wcache/checklink-target (symlink !) 2 r4/.hg/wcache/checklink-target (symlink !)
2 r4/.hg/wcache/checknoexec (execbit !) 2 r4/.hg/wcache/checknoexec (execbit !)
1 r4/.hg/wcache/manifestfulltextcache (reporevlogstore !) 1 r4/.hg/wcache/manifestfulltextcache
2 r4/d1/data1 2 r4/d1/data1
2 r4/d1/f2 2 r4/d1/f2
1 r4/f1 1 r4/f1
......
#require serve repobundlerepo #require serve
$ hg init server $ hg init server
$ cd server $ cd server
......
...@@ -35,7 +35,6 @@ ...@@ -35,7 +35,6 @@
clone via stream clone via stream
#if no-reposimplestore
$ hg clone --stream http://localhost:$HGPORT/ copy 2>&1 $ hg clone --stream http://localhost:$HGPORT/ copy 2>&1
streaming all changes streaming all changes
* files to transfer, * bytes of data (glob) * files to transfer, * bytes of data (glob)
...@@ -45,7 +44,6 @@ ...@@ -45,7 +44,6 @@
updating to branch default updating to branch default
4 files updated, 0 files merged, 0 files removed, 0 files unresolved 4 files updated, 0 files merged, 0 files removed, 0 files unresolved
$ hg verify -R copy -q $ hg verify -R copy -q
#endif
try to clone via stream, should use pull instead try to clone via stream, should use pull instead
...@@ -214,7 +212,6 @@ ...@@ -214,7 +212,6 @@
$ hg id http://user@localhost:$HGPORT2/ $ hg id http://user@localhost:$HGPORT2/
5fed3813f7f5 5fed3813f7f5
#if no-reposimplestore
$ hg clone http://user:pass@localhost:$HGPORT2/ dest 2>&1 $ hg clone http://user:pass@localhost:$HGPORT2/ dest 2>&1
streaming all changes streaming all changes
* files to transfer, * of data (glob) * files to transfer, * of data (glob)
...@@ -223,7 +220,6 @@ ...@@ -223,7 +220,6 @@
no changes found no changes found
updating to branch default updating to branch default
5 files updated, 0 files merged, 0 files removed, 0 files unresolved 5 files updated, 0 files merged, 0 files removed, 0 files unresolved
#endif
--pull should override server's preferuncompressed --pull should override server's preferuncompressed
...@@ -282,16 +278,16 @@ ...@@ -282,16 +278,16 @@
"GET /?cmd=lookup HTTP/1.1" 200 - x-hgarg-1:key=tip x-hgproto-1:0.1 0.2 comp=$USUAL_COMPRESSIONS$ partial-pull "GET /?cmd=lookup HTTP/1.1" 200 - x-hgarg-1:key=tip x-hgproto-1:0.1 0.2 comp=$USUAL_COMPRESSIONS$ partial-pull
"GET /?cmd=listkeys HTTP/1.1" 200 - x-hgarg-1:namespace=namespaces x-hgproto-1:0.1 0.2 comp=$USUAL_COMPRESSIONS$ partial-pull "GET /?cmd=listkeys HTTP/1.1" 200 - x-hgarg-1:namespace=namespaces x-hgproto-1:0.1 0.2 comp=$USUAL_COMPRESSIONS$ partial-pull
"GET /?cmd=listkeys HTTP/1.1" 200 - x-hgarg-1:namespace=bookmarks x-hgproto-1:0.1 0.2 comp=$USUAL_COMPRESSIONS$ partial-pull "GET /?cmd=listkeys HTTP/1.1" 200 - x-hgarg-1:namespace=bookmarks x-hgproto-1:0.1 0.2 comp=$USUAL_COMPRESSIONS$ partial-pull
"GET /?cmd=capabilities HTTP/1.1" 401 - (no-reposimplestore !) "GET /?cmd=capabilities HTTP/1.1" 401 -
"GET /?cmd=capabilities HTTP/1.1" 200 - (no-reposimplestore !) "GET /?cmd=capabilities HTTP/1.1" 200 -
"GET /?cmd=branchmap HTTP/1.1" 200 - x-hgproto-1:0.1 0.2 comp=$USUAL_COMPRESSIONS$ partial-pull (no-reposimplestore !) "GET /?cmd=branchmap HTTP/1.1" 200 - x-hgproto-1:0.1 0.2 comp=$USUAL_COMPRESSIONS$ partial-pull
"GET /?cmd=stream_out HTTP/1.1" 200 - x-hgproto-1:0.1 0.2 comp=$USUAL_COMPRESSIONS$ partial-pull (no-reposimplestore !) "GET /?cmd=stream_out HTTP/1.1" 200 - x-hgproto-1:0.1 0.2 comp=$USUAL_COMPRESSIONS$ partial-pull
"GET /?cmd=listkeys HTTP/1.1" 200 - x-hgarg-1:namespace=bookmarks x-hgproto-1:0.1 0.2 comp=$USUAL_COMPRESSIONS$ partial-pull (no-reposimplestore !) "GET /?cmd=listkeys HTTP/1.1" 200 - x-hgarg-1:namespace=bookmarks x-hgproto-1:0.1 0.2 comp=$USUAL_COMPRESSIONS$ partial-pull
"GET /?cmd=batch HTTP/1.1" 200 - x-hgarg-1:cmds=heads+%3Bknown+nodes%3D5fed3813f7f5e1824344fdc9cf8f63bb662c292d x-hgproto-1:0.1 0.2 comp=$USUAL_COMPRESSIONS$ partial-pull (no-reposimplestore !) "GET /?cmd=batch HTTP/1.1" 200 - x-hgarg-1:cmds=heads+%3Bknown+nodes%3D5fed3813f7f5e1824344fdc9cf8f63bb662c292d x-hgproto-1:0.1 0.2 comp=$USUAL_COMPRESSIONS$ partial-pull
"GET /?cmd=listkeys HTTP/1.1" 200 - x-hgarg-1:namespace=phases x-hgproto-1:0.1 0.2 comp=$USUAL_COMPRESSIONS$ partial-pull (no-reposimplestore !) "GET /?cmd=listkeys HTTP/1.1" 200 - x-hgarg-1:namespace=phases x-hgproto-1:0.1 0.2 comp=$USUAL_COMPRESSIONS$ partial-pull
"GET /?cmd=capabilities HTTP/1.1" 401 - (no-reposimplestore !) "GET /?cmd=capabilities HTTP/1.1" 401 -
"GET /?cmd=capabilities HTTP/1.1" 200 - (no-reposimplestore !) "GET /?cmd=capabilities HTTP/1.1" 200 -
"GET /?cmd=listkeys HTTP/1.1" 200 - x-hgarg-1:namespace=bookmarks x-hgproto-1:0.1 0.2 comp=$USUAL_COMPRESSIONS$ partial-pull (no-reposimplestore !) "GET /?cmd=listkeys HTTP/1.1" 200 - x-hgarg-1:namespace=bookmarks x-hgproto-1:0.1 0.2 comp=$USUAL_COMPRESSIONS$ partial-pull
"GET /?cmd=batch HTTP/1.1" 200 - x-hgarg-1:cmds=heads+%3Bknown+nodes%3D x-hgproto-1:0.1 0.2 comp=$USUAL_COMPRESSIONS$ partial-pull "GET /?cmd=batch HTTP/1.1" 200 - x-hgarg-1:cmds=heads+%3Bknown+nodes%3D x-hgproto-1:0.1 0.2 comp=$USUAL_COMPRESSIONS$ partial-pull
"GET /?cmd=getbundle HTTP/1.1" 200 - x-hgarg-1:common=0000000000000000000000000000000000000000&heads=5fed3813f7f5e1824344fdc9cf8f63bb662c292d x-hgproto-1:0.1 0.2 comp=$USUAL_COMPRESSIONS$ partial-pull "GET /?cmd=getbundle HTTP/1.1" 200 - x-hgarg-1:common=0000000000000000000000000000000000000000&heads=5fed3813f7f5e1824344fdc9cf8f63bb662c292d x-hgproto-1:0.1 0.2 comp=$USUAL_COMPRESSIONS$ partial-pull
"GET /?cmd=listkeys HTTP/1.1" 200 - x-hgarg-1:namespace=phases x-hgproto-1:0.1 0.2 comp=$USUAL_COMPRESSIONS$ partial-pull "GET /?cmd=listkeys HTTP/1.1" 200 - x-hgarg-1:namespace=phases x-hgproto-1:0.1 0.2 comp=$USUAL_COMPRESSIONS$ partial-pull
...@@ -369,7 +365,6 @@ ...@@ -369,7 +365,6 @@
server has pull-based clones disabled server has pull-based clones disabled
[100] [100]
#if no-reposimplestore
... but keep stream clones working ... but keep stream clones working
$ hg clone --stream --noupdate http://localhost:$HGPORT1/ test-stream-clone $ hg clone --stream --noupdate http://localhost:$HGPORT1/ test-stream-clone
...@@ -378,7 +373,6 @@ ...@@ -378,7 +373,6 @@
stream-cloned * files / * KB in * seconds (* */sec) (glob) stream-cloned * files / * KB in * seconds (* */sec) (glob)
searching for changes searching for changes
no changes found no changes found
#endif
... and also keep partial clones and pulls working ... and also keep partial clones and pulls working
$ hg clone http://localhost:$HGPORT1 --rev 0 test-partial-clone $ hg clone http://localhost:$HGPORT1 --rev 0 test-partial-clone
......
...@@ -26,7 +26,6 @@ ...@@ -26,7 +26,6 @@
clone via stream clone via stream
#if no-reposimplestore
$ hg clone --stream http://localhost:$HGPORT/ copy 2>&1 $ hg clone --stream http://localhost:$HGPORT/ copy 2>&1
streaming all changes streaming all changes
* files to transfer, * bytes of data (glob) * files to transfer, * bytes of data (glob)
...@@ -34,7 +33,6 @@ ...@@ -34,7 +33,6 @@
updating to branch default updating to branch default
4 files updated, 0 files merged, 0 files removed, 0 files unresolved 4 files updated, 0 files merged, 0 files removed, 0 files unresolved
$ hg verify -R copy -q $ hg verify -R copy -q
#endif
try to clone via stream, should use pull instead try to clone via stream, should use pull instead
...@@ -250,10 +248,9 @@ ...@@ -250,10 +248,9 @@
$ hg id http://localhost:$HGPORT2/ --config extensions.x=use_digests.py $ hg id http://localhost:$HGPORT2/ --config extensions.x=use_digests.py
5fed3813f7f5 5fed3813f7f5
#if no-reposimplestore
$ hg clone http://user:pass@localhost:$HGPORT2/ dest 2>&1 $ hg clone http://user:pass@localhost:$HGPORT2/ dest 2>&1
streaming all changes streaming all changes
* files to transfer, * KB of data (glob) * files to transfer, * KB of data (glob)
stream-cloned * files / * KB in * seconds (*/sec) (glob) stream-cloned * files / * KB in * seconds (*/sec) (glob)
updating to branch default updating to branch default
5 files updated, 0 files merged, 0 files removed, 0 files unresolved 5 files updated, 0 files merged, 0 files removed, 0 files unresolved
...@@ -254,10 +251,9 @@ ...@@ -254,10 +251,9 @@
$ hg clone http://user:pass@localhost:$HGPORT2/ dest 2>&1 $ hg clone http://user:pass@localhost:$HGPORT2/ dest 2>&1
streaming all changes streaming all changes
* files to transfer, * KB of data (glob) * files to transfer, * KB of data (glob)
stream-cloned * files / * KB in * seconds (*/sec) (glob) stream-cloned * files / * KB in * seconds (*/sec) (glob)
updating to branch default updating to branch default
5 files updated, 0 files merged, 0 files removed, 0 files unresolved 5 files updated, 0 files merged, 0 files removed, 0 files unresolved
#endif
--pull should override server's preferuncompressed --pull should override server's preferuncompressed
$ hg clone --pull http://user:pass@localhost:$HGPORT2/ dest-pull 2>&1 $ hg clone --pull http://user:pass@localhost:$HGPORT2/ dest-pull 2>&1
...@@ -416,12 +412,12 @@ ...@@ -416,12 +412,12 @@
"GET /?cmd=listkeys HTTP/1.1" 200 - x-hgarg-1:namespace=namespaces x-hgproto-1:0.1 0.2 comp=$USUAL_COMPRESSIONS$ partial-pull x-hgtest-authtype:Digest "GET /?cmd=listkeys HTTP/1.1" 200 - x-hgarg-1:namespace=namespaces x-hgproto-1:0.1 0.2 comp=$USUAL_COMPRESSIONS$ partial-pull x-hgtest-authtype:Digest
"GET /?cmd=listkeys HTTP/1.1" 401 - x-hgarg-1:namespace=bookmarks x-hgproto-1:0.1 0.2 comp=$USUAL_COMPRESSIONS$ partial-pull x-hgtest-authtype:Digest "GET /?cmd=listkeys HTTP/1.1" 401 - x-hgarg-1:namespace=bookmarks x-hgproto-1:0.1 0.2 comp=$USUAL_COMPRESSIONS$ partial-pull x-hgtest-authtype:Digest
"GET /?cmd=listkeys HTTP/1.1" 200 - x-hgarg-1:namespace=bookmarks x-hgproto-1:0.1 0.2 comp=$USUAL_COMPRESSIONS$ partial-pull x-hgtest-authtype:Digest "GET /?cmd=listkeys HTTP/1.1" 200 - x-hgarg-1:namespace=bookmarks x-hgproto-1:0.1 0.2 comp=$USUAL_COMPRESSIONS$ partial-pull x-hgtest-authtype:Digest
"GET /?cmd=capabilities HTTP/1.1" 401 - (no-reposimplestore !) "GET /?cmd=capabilities HTTP/1.1" 401 -
"GET /?cmd=capabilities HTTP/1.1" 200 - (no-reposimplestore !) "GET /?cmd=capabilities HTTP/1.1" 200 -
"GET /?cmd=batch HTTP/1.1" 200 - x-hgarg-1:cmds=heads+%3Bknown+nodes%3D x-hgproto-1:0.1 0.2 comp=$USUAL_COMPRESSIONS$ partial-pull (no-reposimplestore !) "GET /?cmd=batch HTTP/1.1" 200 - x-hgarg-1:cmds=heads+%3Bknown+nodes%3D x-hgproto-1:0.1 0.2 comp=$USUAL_COMPRESSIONS$ partial-pull
"GET /?cmd=getbundle HTTP/1.1" 200 - x-hgarg-1:bookmarks=1&$USUAL_BUNDLE_CAPS$&cg=0&common=0000000000000000000000000000000000000000&heads=5fed3813f7f5e1824344fdc9cf8f63bb662c292d&listkeys=bookmarks&stream=1 x-hgproto-1:0.1 0.2 comp=$USUAL_COMPRESSIONS$ partial-pull (no-reposimplestore !) "GET /?cmd=getbundle HTTP/1.1" 200 - x-hgarg-1:bookmarks=1&$USUAL_BUNDLE_CAPS$&cg=0&common=0000000000000000000000000000000000000000&heads=5fed3813f7f5e1824344fdc9cf8f63bb662c292d&listkeys=bookmarks&stream=1 x-hgproto-1:0.1 0.2 comp=$USUAL_COMPRESSIONS$ partial-pull
"GET /?cmd=capabilities HTTP/1.1" 401 - (no-reposimplestore !) "GET /?cmd=capabilities HTTP/1.1" 401 -
"GET /?cmd=capabilities HTTP/1.1" 200 - (no-reposimplestore !) "GET /?cmd=capabilities HTTP/1.1" 200 -
"GET /?cmd=batch HTTP/1.1" 200 - x-hgarg-1:cmds=heads+%3Bknown+nodes%3D x-hgproto-1:0.1 0.2 comp=$USUAL_COMPRESSIONS$ partial-pull "GET /?cmd=batch HTTP/1.1" 200 - x-hgarg-1:cmds=heads+%3Bknown+nodes%3D x-hgproto-1:0.1 0.2 comp=$USUAL_COMPRESSIONS$ partial-pull
"GET /?cmd=getbundle HTTP/1.1" 200 - x-hgarg-1:bookmarks=1&$USUAL_BUNDLE_CAPS$&cg=1&common=0000000000000000000000000000000000000000&heads=5fed3813f7f5e1824344fdc9cf8f63bb662c292d&listkeys=bookmarks&phases=1 x-hgproto-1:0.1 0.2 comp=$USUAL_COMPRESSIONS$ partial-pull "GET /?cmd=getbundle HTTP/1.1" 200 - x-hgarg-1:bookmarks=1&$USUAL_BUNDLE_CAPS$&cg=1&common=0000000000000000000000000000000000000000&heads=5fed3813f7f5e1824344fdc9cf8f63bb662c292d&listkeys=bookmarks&phases=1 x-hgproto-1:0.1 0.2 comp=$USUAL_COMPRESSIONS$ partial-pull
"GET /?cmd=capabilities HTTP/1.1" 401 - "GET /?cmd=capabilities HTTP/1.1" 401 -
...@@ -510,7 +506,6 @@ ...@@ -510,7 +506,6 @@
(remove --pull if specified or upgrade Mercurial) (remove --pull if specified or upgrade Mercurial)
[100] [100]
#if no-reposimplestore
... but keep stream clones working ... but keep stream clones working
$ hg clone --stream --noupdate http://localhost:$HGPORT1/ test-stream-clone $ hg clone --stream --noupdate http://localhost:$HGPORT1/ test-stream-clone
...@@ -518,7 +513,6 @@ ...@@ -518,7 +513,6 @@
* files to transfer, * of data (glob) * files to transfer, * of data (glob)
stream-cloned * files / * in * seconds (*/sec) (glob) stream-cloned * files / * in * seconds (*/sec) (glob)
$ cat error.log $ cat error.log
#endif
... and also keep partial clones and pulls working ... and also keep partial clones and pulls working
$ hg clone http://localhost:$HGPORT1 --rev 0 test/partial/clone $ hg clone http://localhost:$HGPORT1 --rev 0 test/partial/clone
......
...@@ -85,15 +85,9 @@ ...@@ -85,15 +85,9 @@
00660 ./.hg/store/00manifest.i 00660 ./.hg/store/00manifest.i
00770 ./.hg/store/data/ 00770 ./.hg/store/data/
00770 ./.hg/store/data/dir/ 00770 ./.hg/store/data/dir/
00660 ./.hg/store/data/dir/bar.i (reporevlogstore !) 00660 ./.hg/store/data/dir/bar.i
00660 ./.hg/store/data/foo.i (reporevlogstore !) 00660 ./.hg/store/data/foo.i
00770 ./.hg/store/data/dir/bar/ (reposimplestore !) 00660 ./.hg/store/fncache
00660 ./.hg/store/data/dir/bar/b80de5d138758541c5f05265ad144ab9fa86d1db (reposimplestore !)
00660 ./.hg/store/data/dir/bar/index (reposimplestore !)
00770 ./.hg/store/data/foo/ (reposimplestore !)
00660 ./.hg/store/data/foo/b80de5d138758541c5f05265ad144ab9fa86d1db (reposimplestore !)
00660 ./.hg/store/data/foo/index (reposimplestore !)
00660 ./.hg/store/fncache (repofncache !)
00660 ./.hg/store/phaseroots 00660 ./.hg/store/phaseroots
00600 ./.hg/store/requires 00600 ./.hg/store/requires
00660 ./.hg/store/undo 00660 ./.hg/store/undo
...@@ -104,7 +98,7 @@ ...@@ -104,7 +98,7 @@
00711 ./.hg/wcache/checkisexec 00711 ./.hg/wcache/checkisexec
007.. ./.hg/wcache/checklink (re) 007.. ./.hg/wcache/checklink (re)
00600 ./.hg/wcache/checklink-target 00600 ./.hg/wcache/checklink-target
00660 ./.hg/wcache/manifestfulltextcache (reporevlogstore !) 00660 ./.hg/wcache/manifestfulltextcache
00700 ./dir/ 00700 ./dir/
00600 ./dir/bar 00600 ./dir/bar
00600 ./foo 00600 ./foo
...@@ -147,15 +141,9 @@ ...@@ -147,15 +141,9 @@
00660 ../push/.hg/store/00manifest.i 00660 ../push/.hg/store/00manifest.i
00770 ../push/.hg/store/data/ 00770 ../push/.hg/store/data/
00770 ../push/.hg/store/data/dir/ 00770 ../push/.hg/store/data/dir/
00660 ../push/.hg/store/data/dir/bar.i (reporevlogstore !) 00660 ../push/.hg/store/data/dir/bar.i
00660 ../push/.hg/store/data/foo.i (reporevlogstore !) 00660 ../push/.hg/store/data/foo.i
00770 ../push/.hg/store/data/dir/bar/ (reposimplestore !) 00660 ../push/.hg/store/fncache
00660 ../push/.hg/store/data/dir/bar/b80de5d138758541c5f05265ad144ab9fa86d1db (reposimplestore !)
00660 ../push/.hg/store/data/dir/bar/index (reposimplestore !)
00770 ../push/.hg/store/data/foo/ (reposimplestore !)
00660 ../push/.hg/store/data/foo/b80de5d138758541c5f05265ad144ab9fa86d1db (reposimplestore !)
00660 ../push/.hg/store/data/foo/index (reposimplestore !)
00660 ../push/.hg/store/fncache (repofncache !)
00660 ../push/.hg/store/requires 00660 ../push/.hg/store/requires
00660 ../push/.hg/store/undo 00660 ../push/.hg/store/undo
00660 ../push/.hg/store/undo.backupfiles 00660 ../push/.hg/store/undo.backupfiles
......
...@@ -28,7 +28,6 @@ ...@@ -28,7 +28,6 @@
share-safe share-safe
sparserevlog sparserevlog
store store
testonly-simplestore (reposimplestore !)
$ echo this > local/foo $ echo this > local/foo
$ hg ci --cwd local -A -m "init" $ hg ci --cwd local -A -m "init"
adding foo adding foo
...@@ -67,7 +66,6 @@ ...@@ -67,7 +66,6 @@
persistent-nodemap (rust !) persistent-nodemap (rust !)
revlog-compression-zstd (zstd !) revlog-compression-zstd (zstd !)
revlogv1 revlogv1
testonly-simplestore (reposimplestore !)
sparserevlog sparserevlog
creating repo with format.usefncache=false creating repo with format.usefncache=false
...@@ -84,7 +82,6 @@ ...@@ -84,7 +82,6 @@
share-safe share-safe
sparserevlog sparserevlog
store store
testonly-simplestore (reposimplestore !)
creating repo with format.dotencode=false creating repo with format.dotencode=false
...@@ -101,7 +98,6 @@ ...@@ -101,7 +98,6 @@
share-safe share-safe
sparserevlog sparserevlog
store store
testonly-simplestore (reposimplestore !)
creating repo with format.dotencode=false creating repo with format.dotencode=false
...@@ -117,7 +113,6 @@ ...@@ -117,7 +113,6 @@
revlogv1 revlogv1
share-safe share-safe
store store
testonly-simplestore (reposimplestore !)
test failure test failure
...@@ -239,7 +234,6 @@ ...@@ -239,7 +234,6 @@
share-safe share-safe
sparserevlog sparserevlog
store store
testonly-simplestore (reposimplestore !)
prepare test of init of url configured from paths prepare test of init of url configured from paths
...@@ -263,7 +257,6 @@ ...@@ -263,7 +257,6 @@
share-safe share-safe
sparserevlog sparserevlog
store store
testonly-simplestore (reposimplestore !)
verify that clone also expand urls verify that clone also expand urls
...@@ -283,7 +276,6 @@ ...@@ -283,7 +276,6 @@
share-safe share-safe
sparserevlog sparserevlog
store store
testonly-simplestore (reposimplestore !)
clone bookmarks clone bookmarks
......
#require no-reposimplestore
Run kwdemo outside a repo Run kwdemo outside a repo
$ hg -q --config extensions.keyword= --config keywordmaps.Foo="{author|user}" kwdemo $ hg -q --config extensions.keyword= --config keywordmaps.Foo="{author|user}" kwdemo
[extensions] [extensions]
......
#require no-reposimplestore
This file focuses mainly on updating largefiles in the working This file focuses mainly on updating largefiles in the working
directory (and ".hg/largefiles/dirstate") directory (and ".hg/largefiles/dirstate")
......