# HG changeset patch # User Pierre-Yves David # Date 2020-07-09 00:16:26 # Node ID 23119371df5e568939b0914f5eea399483fb3e0e # Parent 04ef381000a87ff6fb3c0cc1db89a50a046be71c test-clone-uncompressed: use config to silence the lock warning The ui.timeout.warn option can solve the issue6237 in a cleaner way than what was done in 752da6863e39. That way, possible other unexpected error output will not be silenced. Differential Revision: https://phab.mercurial-scm.org/D8726 diff --git a/tests/test-clone-uncompressed.t b/tests/test-clone-uncompressed.t --- a/tests/test-clone-uncompressed.t +++ b/tests/test-clone-uncompressed.t @@ -407,7 +407,7 @@ actually serving file content $ sleep 1 $ echo >> repo/f1 $ echo >> repo/f2 - $ hg -R repo ci -m "1" 2>/dev/null + $ hg -R repo ci -m "1" --config ui.timeout.warn=-1 $ wait $ hg -R clone id 000000000000