tests/test-obsolete.t
changeset 218 ace5608350b6
parent 217 786eb34d93ea
child 225 72af5aa43997
--- a/tests/test-obsolete.t	Tue Apr 24 16:30:58 2012 +0200
+++ b/tests/test-obsolete.t	Thu Apr 26 16:49:15 2012 +0200
@@ -433,3 +433,24 @@
   o  0 - 1f0dee641bb7
   
 
+Does not complain about new head if you obsolete the old one
+
+  $ hg push ../other-new --traceback
+  pushing to ../other-new
+  searching for changes
+  adding changesets
+  adding manifests
+  adding file changes
+  added 2 changesets with 1 changes to 1 files
+  83b5778897ad try to obsolete immutable changeset 1f0dee641bb7
+  $ hg up -q 10
+  $ mkcommit "obsol_d'''"
+  created new head
+  $ hg debugobsolete 12 11
+  $ hg push ../other-new --traceback
+  pushing to ../other-new
+  searching for changes
+  adding changesets
+  adding manifests
+  adding file changes
+  added 1 changesets with 1 changes to 1 files (+1 heads)