changeset 30711:c03627d87d9d

test: test "trouble: " line in log output with multiple troubles Follow-up on f05ede08dcf7.
author Denis Laxalde <denis.laxalde@logilab.fr>
date Fri, 06 Jan 2017 15:48:22 +0100
parents 7e95e70bad57
children 5dde81de1e6d
files tests/test-obsolete.t
diffstat 1 files changed, 12 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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
 ===============================================================================