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

Augie Fackler raf at durin42.com
Wed Feb 15 21:12:41 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 bce80a4789de7a273102a5e61a0ad6b13e8cbef8
# Parent  074b3f1ed66b41062e809eeabd4eb05b5554c680
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