Mercurial > hg
changeset 51989:b99f0b76acf9
tests: stabilize `test-largefiles-cache.t` on Windows
The `undo.backup.dirstate.bck` was created by `hg commit -m 'add largefile'` at
line 18, and deleted in the conditional block by `hg push -q http://localhost:$HGPORT/`
at line 138. That's... surprising, but probably not harmful, and can be debugged
from Linux if it is a problem.
This was showing up in `find src/.hg/largefiles/* | grep -E "(dirstate|$hash)"`.
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Mon, 07 Oct 2024 19:11:54 -0400 |
parents | df887ca0d891 |
children | 4b347e9429e7 |
files | tests/test-largefiles-cache.t |
diffstat | 1 files changed, 6 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/test-largefiles-cache.t Mon Oct 07 18:33:45 2024 -0400 +++ b/tests/test-largefiles-cache.t Mon Oct 07 19:11:54 2024 -0400 @@ -142,6 +142,12 @@ $ cd .. +#else + +This is deleted by `hg push` in the other block above. + + $ rm src/.hg/largefiles/undo.backup.dirstate.bck + #endif Test issue 4053 (remove --after on a deleted, uncommitted file shouldn't say