diff tests/test-topic-stack.t @ 5333:028e4ea75456

topic: support foo#stack syntax
author Anton Shestakov <av6@dwimlabs.net>
date Tue, 19 May 2020 12:25:14 +0800
parents e8660b28bfee
children 87966baf6ea9
line wrap: on
line diff
--- a/tests/test-topic-stack.t	Tue May 19 12:23:29 2020 +0800
+++ b/tests/test-topic-stack.t	Tue May 19 12:25:14 2020 +0800
@@ -385,6 +385,14 @@
   hg: parse error: stack takes no arguments, it works on current topic
   [255]
 
+Stack relation:
+
+  $ hg log -r 'foo#stack'
+  2 default {foo} draft c_c
+  4 default {foo} draft c_e
+  5 default {foo} draft c_f
+  6 default {foo} draft c_d
+
 Stack relation subscript:
 
   $ hg log -r 'foo#stack[0]'