diff --git a/tests/test-audit-subrepo.t b/tests/test-audit-subrepo.t --- a/tests/test-audit-subrepo.t +++ b/tests/test-audit-subrepo.t @@ -281,24 +281,36 @@ on clone (and update) with various subst $ hg clone -q main main2 abort: subrepo path contains illegal component: $SUB [255] - $ ls main2 + $ ls -A main2 + .hg + .hgsub + .hgsubstate $ SUB=sub1 hg clone -q main main3 abort: subrepo path contains illegal component: $SUB [255] - $ ls main3 + $ ls -A main3 + .hg + .hgsub + .hgsubstate $ SUB=sub2 hg clone -q main main4 abort: subrepo path contains illegal component: $SUB [255] - $ ls main4 + $ ls -A main4 + .hg + .hgsub + .hgsubstate on clone empty subrepo into .hg, then pull (and update), which at least fails: $ SUB=.hg hg clone -qr0 main main5 abort: subrepo path contains illegal component: $SUB [255] - $ ls main5 + $ ls -A main5 + .hg + .hgsub + .hgsubstate $ test -d main5/.hg/.hg [1] $ SUB=.hg hg -R main5 pull -u @@ -320,7 +332,10 @@ on clone (and update) into .hg, which at $ SUB=.hg hg clone -q main main6 abort: subrepo path contains illegal component: $SUB [255] - $ ls main6 + $ ls -A main6 + .hg + .hgsub + .hgsubstate $ cat main6/.hg/hgrc | grep pwned [1] @@ -329,7 +344,10 @@ on clone (and update) into .hg/* subdir: $ SUB=.hg/foo hg clone -q main main7 abort: subrepo path contains illegal component: $SUB [255] - $ ls main7 + $ ls -A main7 + .hg + .hgsub + .hgsubstate $ test -d main7/.hg/.hg [1] @@ -338,7 +356,10 @@ on clone (and update) into outer tree: $ SUB=../out-of-tree-write hg clone -q main main8 abort: subrepo path contains illegal component: $SUB [255] - $ ls main8 + $ ls -A main8 + .hg + .hgsub + .hgsubstate on clone (and update) into e.g. $HOME, which doesn't work since subrepo paths are concatenated prior to variable expansion: @@ -346,8 +367,8 @@ are concatenated prior to variable expan $ SUB="$TESTTMP/envvar/fakehome" hg clone -q main main9 abort: subrepo path contains illegal component: $SUB [255] - $ ls main9 | wc -l - \s*0 (re) + $ ls -A main9 | wc -l + \s*3 (re) $ ls main @@ -618,7 +639,8 @@ then pull (and update): $ SUB="$FAKEHOME" hg clone -qr1 main main6 abort: subrepo path contains illegal component: $SUB [255] - $ ls "$FAKEHOME" + $ ls -A "$FAKEHOME" + .hg a $ SUB="$FAKEHOME" hg -R main6 pull -u pulling from $TESTTMP/envvarsym/main @@ -631,7 +653,8 @@ then pull (and update): .hgsubstate: untracked file differs abort: untracked files in working directory differ from files in requested revision [255] - $ ls "$FAKEHOME" + $ ls -A "$FAKEHOME" + .hg a on clone only symlink with hg-managed fakehome directory, @@ -642,7 +665,8 @@ then pull (and update): $ touch "$FAKEHOME/a" $ hg -R "$FAKEHOME" ci -qAm 'add fakehome file' $ SUB="$FAKEHOME" hg clone -qr0 main main7 - $ ls "$FAKEHOME" + $ ls -A "$FAKEHOME" + .hg a $ SUB="$FAKEHOME" hg -R main7 pull -uf pulling from $TESTTMP/envvarsym/main @@ -654,7 +678,8 @@ then pull (and update): new changesets * (glob) abort: subrepo path contains illegal component: $SUB [255] - $ ls "$FAKEHOME" + $ ls -A "$FAKEHOME" + .hg a $ cd .. @@ -698,7 +723,10 @@ on clone (and update): #else $ hg clone -q driveletter driveletter2 - $ ls driveletter2 + $ ls -A driveletter2 + .hg + .hgsub + .hgsubstate X: #endif diff --git a/tests/test-backwards-remove.t b/tests/test-backwards-remove.t --- a/tests/test-backwards-remove.t +++ b/tests/test-backwards-remove.t @@ -2,7 +2,8 @@ $ echo This is file a1 > a $ hg add a $ hg commit -m "commit #0" - $ ls + $ ls -A + .hg a $ echo This is file b1 > b $ hg add b @@ -12,5 +13,6 @@ B should disappear - $ ls + $ ls -A + .hg a diff --git a/tests/test-clone.t b/tests/test-clone.t --- a/tests/test-clone.t +++ b/tests/test-clone.t @@ -1097,7 +1097,8 @@ Request to clone a single branch is resp no changes found adding remote bookmark bookA - $ ls share-1anowc + $ ls -A share-1anowc + .hg Test that auto sharing doesn't cause failure of "hg clone local remote" diff --git a/tests/test-copytrace-heuristics.t b/tests/test-copytrace-heuristics.t --- a/tests/test-copytrace-heuristics.t +++ b/tests/test-copytrace-heuristics.t @@ -292,7 +292,8 @@ Move file in one branch and delete it in rebasing 1:472e38d57782 "mv a b" saved backup bundle to $TESTTMP/repo/.hg/strip-backup/472e38d57782-17d50e29-rebase.hg $ hg up -q c492ed3c7e35dcd1dc938053b8adf56e2cfbd062 - $ ls + $ ls -A + .hg b $ cd .. $ rm -rf repo @@ -433,7 +434,8 @@ Move one file and add another file in th rebasing 3:ef716627c70b "mod a" (tip) merging b and a to b saved backup bundle to $TESTTMP/repo/.hg/strip-backup/ef716627c70b-24681561-rebase.hg - $ ls + $ ls -A + .hg b c $ cat b @@ -470,7 +472,8 @@ Merge test 0 files updated, 1 files merged, 0 files removed, 0 files unresolved (branch merge, don't forget to commit) $ hg ci -m merge - $ ls + $ ls -A + .hg b $ cd .. $ rm -rf repo @@ -505,7 +508,8 @@ Copy and move file merging b and a to b merging c and a to c saved backup bundle to $TESTTMP/repo/repo/.hg/strip-backup/ef716627c70b-24681561-rebase.hg - $ ls + $ ls -A + .hg b c $ cat b @@ -558,7 +562,8 @@ Do a merge commit with many consequent m |/ desc: mod a o rev: 0, phase: draft desc: initial - $ ls + $ ls -A + .hg c $ cd .. $ rm -rf repo @@ -588,7 +593,8 @@ Test shelve/unshelve unshelving change 'default' rebasing shelved changes merging b and a to b - $ ls + $ ls -A + .hg b $ cat b b diff --git a/tests/test-fetch.t b/tests/test-fetch.t --- a/tests/test-fetch.t +++ b/tests/test-fetch.t @@ -62,7 +62,8 @@ should merge c into a merging with 1:d36c0562f908 1 files updated, 0 files merged, 0 files removed, 0 files unresolved new changeset 3:a323a0c43ec4 merges remote changes with local - $ ls c + $ ls -A c + .hg a b c diff --git a/tests/test-import.t b/tests/test-import.t --- a/tests/test-import.t +++ b/tests/test-import.t @@ -1823,7 +1823,8 @@ Importing with some success and some err $ hg status -c . C a C b - $ ls + $ ls -A + .hg a a.rej b @@ -1870,7 +1871,8 @@ Importing with zero success: $ hg status -c . C a C b - $ ls + $ ls -A + .hg a a.rej b @@ -1919,7 +1921,8 @@ Importing with unknown file: $ hg status -c . C a C b - $ ls + $ ls -A + .hg a a.rej b diff --git a/tests/test-largefiles.t b/tests/test-largefiles.t --- a/tests/test-largefiles.t +++ b/tests/test-largefiles.t @@ -126,7 +126,9 @@ Remove both largefiles and normal files. Invoking status precommit hook R large1 R normal1 - $ ls + $ ls -A + .hg + .hglf sub $ echo "testlargefile" > large1-test $ hg add --large large1-test @@ -254,7 +256,8 @@ archiving. $ cat sub/large2 large22 $ cd ../archive2 - $ ls + $ ls -A + .hg_archival.txt sub $ cat sub/normal2 normal22 diff --git a/tests/test-narrow-acl.t b/tests/test-narrow-acl.t --- a/tests/test-narrow-acl.t +++ b/tests/test-narrow-acl.t @@ -28,7 +28,8 @@ Make a narrow clone then archive it 2 files updated, 0 files merged, 0 files removed, 0 files unresolved The clone directory should only contain f1 and f2 - $ ls -1 narrowclone1 | sort + $ ls -A -1 narrowclone1 | sort + .hg f1 f2 diff --git a/tests/test-narrow-clone-stream.t b/tests/test-narrow-clone-stream.t --- a/tests/test-narrow-clone-stream.t +++ b/tests/test-narrow-clone-stream.t @@ -54,7 +54,8 @@ Cloning a specific file when stream clon transferred * KB in * seconds (* */sec) (glob) $ cd narrow - $ ls + $ ls -A + .hg $ hg tracked I path:dir/src/F10 diff --git a/tests/test-narrow-clone.t b/tests/test-narrow-clone.t --- a/tests/test-narrow-clone.t +++ b/tests/test-narrow-clone.t @@ -180,7 +180,8 @@ narrow clone no paths at all $ hg tracked $ hg update 0 files updated, 0 files merged, 0 files removed, 0 files unresolved - $ ls + $ ls -A + .hg $ cd .. diff --git a/tests/test-narrow-pull.t b/tests/test-narrow-pull.t --- a/tests/test-narrow-pull.t +++ b/tests/test-narrow-pull.t @@ -26,7 +26,8 @@ narrow clone a couple files, f2 and f8 updating to branch default 2 files updated, 0 files merged, 0 files removed, 0 files unresolved $ cd narrow - $ ls + $ ls -A + .hg f2 f8 $ cat f2 f8 diff --git a/tests/test-narrow-trackedcmd.t b/tests/test-narrow-trackedcmd.t --- a/tests/test-narrow-trackedcmd.t +++ b/tests/test-narrow-trackedcmd.t @@ -46,7 +46,8 @@ narrow clone the inside file $ cd narrow $ hg tracked I path:inside - $ ls + $ ls -A + .hg inside $ cat inside/f inside diff --git a/tests/test-narrow-widen-no-ellipsis.t b/tests/test-narrow-widen-no-ellipsis.t --- a/tests/test-narrow-widen-no-ellipsis.t +++ b/tests/test-narrow-widen-no-ellipsis.t @@ -55,7 +55,8 @@ widen from an empty clone added 0 changesets with 1 changes to 1 files $ hg tracked I path:inside - $ ls + $ ls -A + .hg inside $ cat inside/f inside diff --git a/tests/test-narrow-widen.t b/tests/test-narrow-widen.t --- a/tests/test-narrow-widen.t +++ b/tests/test-narrow-widen.t @@ -51,7 +51,8 @@ narrow clone the inside file $ cd narrow $ hg tracked I path:inside - $ ls + $ ls -A + .hg inside $ cat inside/f inside diff --git a/tests/test-purge.t b/tests/test-purge.t --- a/tests/test-purge.t +++ b/tests/test-purge.t @@ -25,7 +25,9 @@ delete an empty directory empty_dir $ hg purge -v removing directory empty_dir - $ ls + $ ls -A + .hg + .hgignore directory r1 @@ -41,7 +43,9 @@ delete an untracked directory removing file untracked_dir/untracked_file1 removing file untracked_dir/untracked_file2 removing directory untracked_dir - $ ls + $ ls -A + .hg + .hgignore directory r1 @@ -61,7 +65,9 @@ delete an untracked file $ hg purge -v removing file untracked_file removing file untracked_file_readonly - $ ls + $ ls -A + .hg + .hgignore directory r1 @@ -72,7 +78,9 @@ delete an untracked file in a tracked di directory/untracked_file $ hg purge -v removing file directory/untracked_file - $ ls + $ ls -A + .hg + .hgignore directory r1 @@ -84,7 +92,9 @@ delete nested directories $ hg purge -v removing directory untracked_directory/nested_directory removing directory untracked_directory - $ ls + $ ls -A + .hg + .hgignore directory r1 @@ -98,7 +108,9 @@ delete nested directories from a subdir removing directory untracked_directory/nested_directory removing directory untracked_directory $ cd .. - $ ls + $ ls -A + .hg + .hgignore directory r1 @@ -113,7 +125,9 @@ delete only part of the tree removing directory untracked_directory/nested_directory removing directory untracked_directory $ cd .. - $ ls + $ ls -A + .hg + .hgignore directory r1 $ ls directory/untracked_file @@ -135,7 +149,9 @@ skip ignored files if -i or --all not sp ignored $ hg purge -v -i removing file ignored - $ ls + $ ls -A + .hg + .hgignore directory r1 untracked_file @@ -189,7 +205,9 @@ skip excluded files $ touch excluded_file $ hg purge -p -X excluded_file $ hg purge -v -X excluded_file - $ ls + $ ls -A + .hg + .hgignore directory excluded_file r1 @@ -201,7 +219,9 @@ skip files in excluded dirs $ touch excluded_dir/file $ hg purge -p -X excluded_dir $ hg purge -v -X excluded_dir - $ ls + $ ls -A + .hg + .hgignore directory excluded_dir r1 @@ -214,7 +234,9 @@ skip excluded empty dirs $ mkdir excluded_dir $ hg purge -p -X excluded_dir $ hg purge -v -X excluded_dir - $ ls + $ ls -A + .hg + .hgignore directory excluded_dir r1 @@ -241,7 +263,9 @@ only remove files $ hg purge -v --files removing file dir/untracked_file removing file untracked_file - $ ls + $ ls -A + .hg + .hgignore dir empty_dir $ ls dir @@ -254,7 +278,9 @@ only remove dirs empty_dir $ hg purge -v --dirs removing directory empty_dir - $ ls + $ ls -A + .hg + .hgignore dir untracked_file $ ls dir @@ -273,6 +299,8 @@ remove both files and dirs removing file untracked_file removing directory empty_dir removing directory dir - $ ls + $ ls -A + .hg + .hgignore $ cd .. diff --git a/tests/test-remotefilelog-local.t b/tests/test-remotefilelog-local.t --- a/tests/test-remotefilelog-local.t +++ b/tests/test-remotefilelog-local.t @@ -121,7 +121,8 @@ # unbundle $ clearcache - $ ls + $ ls -A + .hg w x y diff --git a/tests/test-revert-interactive.t b/tests/test-revert-interactive.t --- a/tests/test-revert-interactive.t +++ b/tests/test-revert-interactive.t @@ -475,14 +475,16 @@ Prompt before undeleting file(issue6008) > EOF add back removed file a (Yn)? y undeleting a - $ ls + $ ls -A + .hg a $ hg rm a $ hg revert -i< n > EOF add back removed file a (Yn)? n - $ ls + $ ls -A + .hg $ hg revert -a undeleting a $ cd .. diff --git a/tests/test-revert-unknown.t b/tests/test-revert-unknown.t --- a/tests/test-revert-unknown.t +++ b/tests/test-revert-unknown.t @@ -24,6 +24,7 @@ Should show unknown and b removed Should show a and unknown - $ ls + $ ls -A + .hg a unknown diff --git a/tests/test-revert.t b/tests/test-revert.t --- a/tests/test-revert.t +++ b/tests/test-revert.t @@ -73,7 +73,8 @@ revert deletion (! status) of a added fi $ hg status b b: * (glob) - $ ls + $ ls -A + .hg a c e diff --git a/tests/test-shelve.t b/tests/test-shelve.t --- a/tests/test-shelve.t +++ b/tests/test-shelve.t @@ -1249,7 +1249,8 @@ Abort unshelve while merging (issue5123) record change 2/2 to 'd'? (enter ? for help) [Ynesfdaq?] n - $ ls + $ ls -A + .hg b c e @@ -1284,7 +1285,8 @@ Abort unshelve while merging (issue5123) $ hg status -v A c A d - $ ls + $ ls -A + .hg b c d diff --git a/tests/test-sparse-clear.t b/tests/test-sparse-clear.t --- a/tests/test-sparse-clear.t +++ b/tests/test-sparse-clear.t @@ -28,10 +28,12 @@ test sparse Clear rules when there are includes $ hg debugsparse --include *.py - $ ls + $ ls -A + .hg data.py $ hg debugsparse --clear-rules - $ ls + $ ls -A + .hg base.sparse data.py index.html @@ -41,12 +43,14 @@ Clear rules when there are includes Clear rules when there are excludes $ hg debugsparse --exclude *.sparse - $ ls + $ ls -A + .hg data.py index.html readme.txt $ hg debugsparse --clear-rules - $ ls + $ ls -A + .hg base.sparse data.py index.html @@ -56,18 +60,21 @@ Clear rules when there are excludes Clearing rules should not alter profiles $ hg debugsparse --enable-profile webpage.sparse - $ ls + $ ls -A + .hg base.sparse index.html webpage.sparse $ hg debugsparse --include *.py - $ ls + $ ls -A + .hg base.sparse data.py index.html webpage.sparse $ hg debugsparse --clear-rules - $ ls + $ ls -A + .hg base.sparse index.html webpage.sparse diff --git a/tests/test-sparse-clone.t b/tests/test-sparse-clone.t --- a/tests/test-sparse-clone.t +++ b/tests/test-sparse-clone.t @@ -34,7 +34,8 @@ Verify local clone with a sparse profile warning: sparse profile 'webpage.sparse' not found in rev 000000000000 - ignoring it 1 files updated, 0 files merged, 0 files removed, 0 files unresolved $ cd clone1 - $ ls + $ ls -A + .hg index.html $ cd .. @@ -44,7 +45,8 @@ Verify local clone with include works updating to branch default 2 files updated, 0 files merged, 0 files removed, 0 files unresolved $ cd clone2 - $ ls + $ ls -A + .hg backend.sparse webpage.sparse $ cd .. @@ -55,7 +57,8 @@ Verify local clone with exclude works updating to branch default 4 files updated, 0 files merged, 0 files removed, 0 files unresolved $ cd clone3 - $ ls + $ ls -A + .hg backend.sparse index.html readme.txt @@ -67,6 +70,7 @@ Verify sparse clone profile over ssh wor $ hg clone -q --enable-profile webpage.sparse ssh://user@dummy/myrepo clone4 warning: sparse profile 'webpage.sparse' not found in rev 000000000000 - ignoring it $ cd clone4 - $ ls + $ ls -A + .hg index.html $ cd .. diff --git a/tests/test-sparse-import.t b/tests/test-sparse-import.t --- a/tests/test-sparse-import.t +++ b/tests/test-sparse-import.t @@ -32,7 +32,8 @@ Import a rules file against a 'blank' sp > *.py > EOF $ hg debugsparse --import-rules $TESTTMP/rules_to_import - $ ls + $ ls -A + .hg data.py $ hg debugsparse --reset @@ -44,7 +45,8 @@ Import a rules file against a 'blank' sp > *.py > EOF $ hg debugsparse --import-rules $TESTTMP/rules_to_import - $ ls + $ ls -A + .hg base.sparse data.py webpage.sparse @@ -65,7 +67,8 @@ Start against an existing profile; rules > *.py > EOF $ hg debugsparse --import-rules $TESTTMP/rules_to_import - $ ls + $ ls -A + .hg base.sparse index.html readme.txt diff --git a/tests/test-sparse-merges.t b/tests/test-sparse-merges.t --- a/tests/test-sparse-merges.t +++ b/tests/test-sparse-merges.t @@ -28,7 +28,8 @@ test merging things outside of the spars Verify bar was merged temporarily - $ ls + $ ls -A + .hg bar foo $ hg status @@ -39,7 +40,8 @@ Verify bar disappears automatically when $ hg commit -m "merged" cleaned up 1 temporarily added file(s) from the sparse checkout $ hg status - $ ls + $ ls -A + .hg foo $ hg cat -r . bar @@ -108,7 +110,9 @@ file is excluded from sparse checkout o 0:53f3774ed939 added .hgignore $ hg debugsparse --exclude "d" - $ ls + $ ls -A + .hg + .hgignore a $ hg merge @@ -168,7 +172,9 @@ another o 0:53f3774ed939 added .hgignore $ hg debugsparse --exclude "a" - $ ls + $ ls -A + .hg + .hgignore d $ hg merge diff --git a/tests/test-sparse-profiles.t b/tests/test-sparse-profiles.t --- a/tests/test-sparse-profiles.t +++ b/tests/test-sparse-profiles.t @@ -42,7 +42,8 @@ Config file without [section] is rejecte Verify enabling a single profile works $ hg debugsparse --enable-profile webpage.sparse - $ ls + $ ls -A + .hg backend.sparse index.html webpage.sparse @@ -50,7 +51,8 @@ Verify enabling a single profile works Verify enabling two profiles works $ hg debugsparse --enable-profile backend.sparse - $ ls + $ ls -A + .hg backend.sparse data.py index.html @@ -59,7 +61,8 @@ Verify enabling two profiles works Verify disabling a profile works $ hg debugsparse --disable-profile webpage.sparse - $ ls + $ ls -A + .hg backend.sparse data.py webpage.sparse @@ -81,20 +84,23 @@ Verify that a profile is updated across $ echo foo >> data.py $ hg ci -m 'edit profile' - $ ls + $ ls -A + .hg backend.sparse data.py readme.txt webpage.sparse $ hg up -q 0 - $ ls + $ ls -A + .hg backend.sparse data.py webpage.sparse $ hg up -q 1 - $ ls + $ ls -A + .hg backend.sparse data.py readme.txt @@ -111,7 +117,8 @@ Introduce a conflicting .hgsparse change $ echo bar >> data.py $ hg ci -qAm "edit profile other" - $ ls + $ ls -A + .hg backend.sparse index.html webpage.sparse @@ -129,7 +136,8 @@ Verify conflicting merge pulls in the co [1] $ rm *.orig - $ ls + $ ls -A + .hg backend.sparse data.py index.html @@ -154,7 +162,8 @@ Verify resolving the merge removes the t (no more unresolved files) $ hg ci -qAm "merge profiles" - $ ls + $ ls -A + .hg backend.sparse index.html readme.txt @@ -168,7 +177,8 @@ Verify resolving the merge removes the t Verify stripping refreshes dirstate $ hg strip -q -r . - $ ls + $ ls -A + .hg backend.sparse index.html webpage.sparse @@ -176,7 +186,8 @@ Verify stripping refreshes dirstate Verify rebase conflicts pulls in the conflicting changes $ hg up -q 1 - $ ls + $ ls -A + .hg backend.sparse data.py readme.txt @@ -192,7 +203,8 @@ Verify rebase conflicts pulls in the con unresolved conflicts (see hg resolve, then hg rebase --continue) [1] $ rm *.orig - $ ls + $ ls -A + .hg backend.sparse data.py index.html @@ -217,7 +229,8 @@ Verify resolving conflict removes the te continue: hg rebase --continue $ hg rebase -q --continue - $ ls + $ ls -A + .hg backend.sparse index.html readme.txt @@ -237,13 +250,15 @@ warning message can be suppressed by set $ hg commit -m "delete profiles" $ hg up -q ".^" $ hg debugsparse --enable-profile backend.sparse - $ ls + $ ls -A + .hg index.html readme.txt $ hg up tip | grep warning warning: sparse profile 'backend.sparse' not found in rev bfcb76de99cc - ignoring it [1] - $ ls + $ ls -A + .hg data.py index.html readme.txt diff --git a/tests/test-sparse-requirement.t b/tests/test-sparse-requirement.t --- a/tests/test-sparse-requirement.t +++ b/tests/test-sparse-requirement.t @@ -26,7 +26,8 @@ Enable sparse profile testonly-simplestore (reposimplestore !) $ hg debugsparse --config extensions.sparse= --enable-profile frontend.sparse - $ ls + $ ls -A + .hg a.html b.html diff --git a/tests/test-sparse.t b/tests/test-sparse.t --- a/tests/test-sparse.t +++ b/tests/test-sparse.t @@ -22,7 +22,8 @@ Verify basic --include $ 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 @@ Verify commiting while sparse includes o $ echo z > hide $ hg ci -Aqm 'edit hide' - $ ls + $ ls -A + .hg hide $ hg manifest hide @@ -86,7 +88,8 @@ Verify commiting while sparse includes o Verify --reset brings files back $ hg debugsparse --reset - $ ls + $ ls -A + .hg hide show $ cat hide @@ -106,11 +109,13 @@ Verify 'hg debugsparse' default output 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 @@ Verify deleting sparseness with --force $ hg debugsparse --delete -f 'show*' pending changes to 'hide' - $ ls + $ ls -A + .hg hide hide2 hide3 @@ -166,7 +172,8 @@ Verify adding sparseness hides files $ hg debugsparse --exclude -f 'hide*' pending changes to 'hide' - $ ls + $ ls -A + .hg hide hide3 show @@ -177,7 +184,8 @@ Verify adding sparseness hides files $ 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 @@ Verify aborting a rebase cleans up tempo rebase aborted $ rm hide.orig - $ ls + $ ls -A + .hg show show2 diff --git a/tests/test-subrepo-missing.t b/tests/test-subrepo-missing.t --- a/tests/test-subrepo-missing.t +++ b/tests/test-subrepo-missing.t @@ -50,7 +50,8 @@ delete .hgsub and update $ hg st warning: subrepo spec file '.hgsub' not found ! .hgsub - $ ls subrepo + $ ls -A subrepo + .hg a delete .hgsubstate and update @@ -65,7 +66,8 @@ delete .hgsubstate and update use (c)hanged version or leave (d)eleted? c 1 files updated, 0 files merged, 0 files removed, 0 files unresolved $ hg st - $ ls subrepo + $ ls -A subrepo + .hg a Enable obsolete @@ -134,7 +136,10 @@ verifying shouldn't init a new subrepo i 1: repository $TESTTMP/repo/subrepo not found 3: repository $TESTTMP/repo/subrepo not found 4: repository $TESTTMP/repo/subrepo not found - $ ls + $ ls -A + .hg + .hgsub + .hgsubstate b $ mv b subrepo diff --git a/tests/test-subrepo.t b/tests/test-subrepo.t --- a/tests/test-subrepo.t +++ b/tests/test-subrepo.t @@ -498,7 +498,10 @@ clone with subrepo disabled (update shou abort: subrepos not enabled (see 'hg help config.subrepos' for details) [255] - $ ls tc2 + $ ls -A tc2 + .hg + .hgsub + .hgsubstate a $ hg clone t tc3 --config subrepos.allowed=false @@ -506,7 +509,10 @@ clone with subrepo disabled (update shou abort: subrepos not enabled (see 'hg help config.subrepos' for details) [255] - $ ls tc3 + $ ls -A tc3 + .hg + .hgsub + .hgsubstate a And again with just the hg type disabled @@ -516,7 +522,10 @@ And again with just the hg type disabled abort: hg subrepos not allowed (see 'hg help config.subrepos' for details) [255] - $ ls tc4 + $ ls -A tc4 + .hg + .hgsub + .hgsubstate a $ hg clone t tc5 --config subrepos.hg:allowed=false @@ -524,7 +533,10 @@ And again with just the hg type disabled abort: hg subrepos not allowed (see 'hg help config.subrepos' for details) [255] - $ ls tc5 + $ ls -A tc5 + .hg + .hgsub + .hgsubstate a push diff --git a/tests/test-uncommit.t b/tests/test-uncommit.t --- a/tests/test-uncommit.t +++ b/tests/test-uncommit.t @@ -60,7 +60,8 @@ Create some commits $ touch files $ hg add files $ for i in a ab abc abcd abcde; do echo $i > files; echo $i > file-$i; hg add file-$i; hg commit -m "added file-$i"; done - $ ls + $ ls -A + .hg file-a file-ab file-abc diff --git a/tests/test-update-reverse.t b/tests/test-update-reverse.t --- a/tests/test-update-reverse.t +++ b/tests/test-update-reverse.t @@ -12,7 +12,8 @@ 'main' should be gone: - $ ls + $ ls -A + .hg a $ touch side1 @@ -59,7 +60,8 @@ date: Thu Jan 01 00:00:00 1970 +0000 summary: Added main - $ ls + $ ls -A + .hg a side1 side2 @@ -76,7 +78,8 @@ getting main 1 files updated, 0 files merged, 2 files removed, 0 files unresolved - $ ls + $ ls -A + .hg a main