diff -r 28aacddf3af0 -r 5c2a4f37eace tests/test-sparse.t --- a/tests/test-sparse.t Fri Apr 10 19:53:36 2020 +0200 +++ b/tests/test-sparse.t Fri Apr 10 19:58:34 2020 +0200 @@ -22,7 +22,8 @@ $ hg up -q 0 $ hg debugsparse --include 'hide' - $ ls + $ ls -A + .hg hide Absolute paths outside the repo should just be rejected @@ -77,7 +78,8 @@ $ echo z > hide $ hg ci -Aqm 'edit hide' - $ ls + $ ls -A + .hg hide $ hg manifest hide @@ -86,7 +88,8 @@ Verify --reset brings files back $ hg debugsparse --reset - $ ls + $ ls -A + .hg hide show $ cat hide @@ -106,11 +109,13 @@ Verify update only writes included files $ hg up -q 0 - $ ls + $ ls -A + .hg show $ hg up -q 1 - $ ls + $ ls -A + .hg show show2 @@ -144,7 +149,8 @@ $ hg debugsparse --delete -f 'show*' pending changes to 'hide' - $ ls + $ ls -A + .hg hide hide2 hide3 @@ -166,7 +172,8 @@ $ hg debugsparse --exclude -f 'hide*' pending changes to 'hide' - $ ls + $ ls -A + .hg hide hide3 show @@ -177,7 +184,8 @@ $ hg up -qC . TODO: add an option to purge to also purge files outside the sparse config? $ hg purge --all --config extensions.purge= - $ ls + $ ls -A + .hg hide hide3 show @@ -216,7 +224,8 @@ rebase aborted $ rm hide.orig - $ ls + $ ls -A + .hg show show2