diff tests/test-topic-prev-next.t @ 5941:52902ca0ca42 mercurial-5.4

test-compat: merge mercurial-5.5 into mercurial-5.4
author Anton Shestakov <av6@dwimlabs.net>
date Thu, 27 May 2021 23:25:57 +0800
parents 3571685e2aa2
children 9da0114a8a02
line wrap: on
line diff
--- a/tests/test-topic-prev-next.t	Sat Apr 24 20:34:40 2021 +0800
+++ b/tests/test-topic-prev-next.t	Thu May 27 23:25:57 2021 +0800
@@ -133,8 +133,23 @@
   o  0 [] root
   
 
+Simply walking on unstable changesets should work as expected
+
+  $ hg up 'desc("B2")'
+  switching to topic B
+  3 files updated, 0 files merged, 0 files removed, 0 files unresolved
+  $ hg prev
+  0 files updated, 0 files merged, 1 files removed, 0 files unresolved
+  [s1] B1
+  $ hg next
+  1 files updated, 0 files merged, 0 files removed, 0 files unresolved
+  [s2] B2
+
 B1 shouldn't be considered a target, orphan or not
 
+  $ hg up 'desc("A2")'
+  switching to topic A
+  1 files updated, 0 files merged, 2 files removed, 0 files unresolved
   $ hg next
   move:[s3] A3
   atop:[s2] A2