[Request] [+ ] D8664: test: redirect stderr so warning messages don't cause changed output (issue6237)
jcristau (Julien Cristau)
phabricator at mercurial-scm.org
Thu Jun 25 09:23:17 UTC 2020
jcristau created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.
REVISION SUMMARY
clone and commit race for the lock, and if commit has to wait more than
a second it prints a warning to stderr. Since this is somewhat expected
here, silence it.
REPOSITORY
rHG Mercurial
BRANCH
default
REVISION DETAIL
https://phab.mercurial-scm.org/D8664
AFFECTED FILES
tests/test-clone-uncompressed.t
CHANGE DETAILS
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"
+ $ hg -R repo ci -m "1" 2>/dev/null
$ wait
$ hg -R clone id
000000000000
To: jcristau, #hg-reviewers
Cc: mercurial-patches, mercurial-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mercurial-scm.org/pipermail/mercurial-patches/attachments/20200625/5acf954c/attachment.html>
More information about the Mercurial-patches
mailing list