comparison tests/test-persistent-nodemap.t @ 46990:0b569c75d180

store: exclude `undo.` nodemap's file from `walk` There are "temporary" local file that we should not be transfered by `walk` user like local clone and stream clone. This fix the small issue that the new tests highlighted. Differential Revision: https://phab.mercurial-scm.org/D10482
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Tue, 20 Apr 2021 04:27:03 +0200
parents aed6ceaad6d7
children 9e3979a25bfe
comparison
equal deleted inserted replaced
46989:aed6ceaad6d7 46990:0b569c75d180
986 $ rm test-repo/.hg/store/00changelog-*.nd 986 $ rm test-repo/.hg/store/00changelog-*.nd
987 $ hg -R test-repo/ debugupdatecache 987 $ hg -R test-repo/ debugupdatecache
988 $ touch $HG_TEST_STREAM_WALKED_FILE_2 988 $ touch $HG_TEST_STREAM_WALKED_FILE_2
989 $ $RUNTESTDIR/testlib/wait-on-file 10 $HG_TEST_STREAM_WALKED_FILE_3 989 $ $RUNTESTDIR/testlib/wait-on-file 10 $HG_TEST_STREAM_WALKED_FILE_3
990 $ cat clone-output-2 990 $ cat clone-output-2
991 adding [s] undo.backup.00manifest.n (70 bytes) (known-bad-output !)
992 adding [s] undo.backup.00changelog.n (70 bytes) (known-bad-output !)
993 adding [s] 00manifest.n (70 bytes) 991 adding [s] 00manifest.n (70 bytes)
994 adding [s] 00manifest-*.nd (118 KB) (glob) 992 adding [s] 00manifest-*.nd (118 KB) (glob)
995 adding [s] 00changelog.n (70 bytes) 993 adding [s] 00changelog.n (70 bytes)
996 adding [s] 00changelog-*.nd (118 KB) (glob) 994 adding [s] 00changelog-*.nd (118 KB) (glob)
997 adding [s] 00manifest.d (492 KB) (zstd !) 995 adding [s] 00manifest.d (492 KB) (zstd !)