diff tests/test-obsolete.t @ 354:bd26eb9714fb stable

obsolete: Detect conflicting changeset!
author Pierre-Yves David <pierre-yves.david@logilab.fr>
date Wed, 11 Jul 2012 12:38:05 +0200
parents 63f267bd2176
children 56d4c6207ef9
line wrap: on
line diff
--- a/tests/test-obsolete.t	Tue Jul 10 16:14:03 2012 +0200
+++ b/tests/test-obsolete.t	Wed Jul 11 12:38:05 2012 +0200
@@ -578,3 +578,24 @@
   9468a5f5d8b2 6db5e282cb91
   95de7fc6918d 909a0fb57e5d
   a7a6f2b5d8a5 95de7fc6918d
+
+Check conflict detection
+
+  $ hg up 9468a5f5d8b2 #  add obsol_d''
+  1 files updated, 0 files merged, 1 files removed, 0 files unresolved
+  $ mkcommit "obsolet_conflicting_d"
+  $ hg summary
+  parent: 14:50f11e5e3a63 tip
+   add obsolet_conflicting_d
+  branch: default
+  commit: (clean)
+  update: 9 new changesets, 9 branch heads (merge)
+  $ hg debugobsolete 50f11e5e3a63 a7a6f2b5d8a5
+  $ hg log -r 'conflicting()'
+  changeset:   14:50f11e5e3a63
+  tag:         tip
+  parent:      11:9468a5f5d8b2
+  user:        test
+  date:        Thu Jan 01 00:00:00 1970 +0000
+  summary:     add obsolet_conflicting_d
+