diff tests/test-prev-next.t @ 3196:94e5235e95f5

evolve: make prev/next respect --quiet flag (issue5742)
author Martin von Zweigbergk <martinvonz@google.com>
date Thu, 16 Nov 2017 11:22:38 -0800
parents 945a0989e41b
children 28fb347a5bf8
line wrap: on
line diff
--- a/tests/test-prev-next.t	Wed Nov 15 00:30:15 2017 +0100
+++ b/tests/test-prev-next.t	Thu Nov 16 11:22:38 2017 -0800
@@ -3,7 +3,7 @@
   > EOF
   $ echo "evolve=$(echo $(dirname $TESTDIR))/hgext3rd/evolve/" >> $HGRCPATH
 
-hg prev -B should move active bookmark
+hg prev & next move to parent/child
   $ hg init test-repo
   $ cd test-repo
   $ touch a
@@ -12,6 +12,18 @@
   $ touch b
   $ hg add b
   $ hg commit -m 'added b'
+  $ hg prev
+  0 files updated, 0 files merged, 1 files removed, 0 files unresolved
+  [0] added a
+  $ hg next
+  1 files updated, 0 files merged, 0 files removed, 0 files unresolved
+  [1] added b
+
+hg prev & next respect --quiet
+  $ hg prev -q
+  $ hg next -q
+
+hg prev -B should move active bookmark
   $ hg bookmark mark
   $ hg bookmarks
    * mark                      1:6e742c9127b3