Patchwork D8726: test-clone-uncompressed: use config to silence the lock warning

login
register
mail settings
Submitter phabricator
Date July 10, 2020, 7:33 p.m.
Message ID <differential-rev-PHID-DREV-3rhepywyb6637mih7pqu-req@mercurial-scm.org>
Download mbox | patch
Permalink /patch/46691/
State Superseded
Headers show

Comments

phabricator - July 10, 2020, 7:33 p.m.
marmoute created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.

REVISION SUMMARY
  The ui.timeout.warn option can solve the issue6237 in a cleaner way than what
  was done in 752da6863e39 <https://phab.mercurial-scm.org/rHG752da6863e394ac1cad6e69932ddca3cd564da6b>. That way, possible other unexpected error output will
  not be silenced.

REPOSITORY
  rHG Mercurial

BRANCH
  default

REVISION DETAIL
  https://phab.mercurial-scm.org/D8726

AFFECTED FILES
  tests/test-clone-uncompressed.t

CHANGE DETAILS




To: marmoute, #hg-reviewers
Cc: mercurial-patches, mercurial-devel

Patch

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 @@ 
   $ 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