Read about our upcoming Code of Conduct on this issue

This instance will be upgraded to Heptapod 0.28.1 on 2022-01-26 at 16:00 UTC+1 (a few minutes of down time)

Commit 92490630 authored by Raphaël Gomès's avatar Raphaël Gomès
Browse files

tests: add missing `head` for when things go wrong

See comment above the changed line, you can get a millions of line of output in
case of failure. When don't need to have them all.

Differential Revision: https://phab.mercurial-scm.org/D11780
parent 4c61c7f75de6
......@@ -345,7 +345,7 @@ This `head -n 20` looks dumb (since we expect no output), but if something
breaks you can get 1048576 lines of +y in the output, which takes a looooooong
time to print.
$ hg diff -r 2:3 | head -n 20
$ hg diff -r 2:6
$ hg diff -r 2:6 | head -n 20
diff -r e989d0fa3764 -r 752e3a0d8488 large.bin
--- a/large.bin Thu Jan 01 00:00:00 1970 +0000
+++ b/large.bin Thu Jan 01 00:00:00 1970 +0000
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment