[PATCH 9 of 9 pager v2] tests: prove that ignore works

Augie Fackler raf at durin42.com
Thu Feb 16 11:59:18 EST 2017


# HG changeset patch
# User Augie Fackler <augie at google.com>
# Date 1486441324 18000
#      Mon Feb 06 23:22:04 2017 -0500
# Node ID a88d5ea0dd2855d49adae8a6c820e278ec594512
# Parent  4c2f3f1b67a71401faff082dbca79a3f212b5499
tests: prove that ignore works

diff --git a/tests/test-pager.t b/tests/test-pager.t
--- a/tests/test-pager.t
+++ b/tests/test-pager.t
@@ -204,3 +204,21 @@ explicit flags work too:
    8: a 8
    9: a 9
   10: a 10
+
+Put annotate in the ignore list for pager:
+  $ cat >> $HGRCPATH <<EOF
+  > [pager]
+  > ignore = annotate
+  > EOF
+  $ hg blame a
+   0: a
+   1: a 1
+   2: a 2
+   3: a 3
+   4: a 4
+   5: a 5
+   6: a 6
+   7: a 7
+   8: a 8
+   9: a 9
+  10: a 10


More information about the Mercurial-devel mailing list