diff tests/test-prev-next.t @ 1487:ee5391999f2d stable

next: properly report no children when --evolve is used If no aspiring children exist, 'hg next --evolve' should properly issue an error message instead of crashing.
author Pierre-Yves David <pierre-yves.david@fb.com>
date Mon, 10 Aug 2015 00:41:18 -0700
parents 9be1cadf7a07
children b4dfafda72c2
line wrap: on
line diff
--- a/tests/test-prev-next.t	Mon Aug 10 00:24:15 2015 -0700
+++ b/tests/test-prev-next.t	Mon Aug 10 00:41:18 2015 -0700
@@ -137,6 +137,9 @@
   $ hg next
   no children
   [1]
+  $ hg next --evolve
+  no children
+  [1]
   $ hg prev
   0 files updated, 0 files merged, 1 files removed, 0 files unresolved
   [1] added b