changeset 45076:23119371df5e

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
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Thu, 09 Jul 2020 02:16:26 +0200
parents 04ef381000a8
children fa270dcbdb55
files tests/test-clone-uncompressed.t
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-clone-uncompressed.t	Thu May 21 18:18:50 2020 +0200
+++ b/tests/test-clone-uncompressed.t	Thu Jul 09 02:16:26 2020 +0200
@@ -407,7 +407,7 @@
   $ 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