diff tests/test-prev-next.t @ 3232:c1d20598bc2b

branching: merge with stable
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Tue, 05 Dec 2017 18:31:08 +0100
parents 8cc8fb94cc00 28fb347a5bf8
children 4303a46b4167 210132852a3d bee9fee8f36b
line wrap: on
line diff
--- a/tests/test-prev-next.t	Wed Dec 06 02:08:37 2017 +0100
+++ b/tests/test-prev-next.t	Tue Dec 05 18:31:08 2017 +0100
@@ -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