test: test "trouble: " line in log output with multiple troubles
authorDenis Laxalde <denis.laxalde@logilab.fr>
Fri, 06 Jan 2017 15:48:22 +0100
changeset 30711 c03627d87d9d
parent 30710 7e95e70bad57
child 30712 5dde81de1e6d
test: test "trouble: " line in log output with multiple troubles Follow-up on f05ede08dcf7.
tests/test-obsolete.t
--- a/tests/test-obsolete.t	Fri Jan 06 12:36:21 2017 +0100
+++ b/tests/test-obsolete.t	Fri Jan 06 15:48:22 2017 +0100
@@ -798,6 +798,18 @@
 
 #endif
 
+Several troubles on the same changeset (create an unstable and bumped changeset)
+
+  $ hg debugobsolete `getid obsolete_e`
+  $ hg debugobsolete `getid original_c` `getid babar`
+  $ hg log --config ui.logtemplate= -r 'bumped() and unstable()'
+  changeset:   7:50c51b361e60
+  user:        test
+  date:        Thu Jan 01 00:00:00 1970 +0000
+  trouble:     unstable, bumped
+  summary:     add babar
+  
+
 Test incoming/outcoming with changesets obsoleted remotely, known locally
 ===============================================================================