diff tests/test-obsolete.t @ 214:a140d1857931

obsolete: do not warn about unpushed extinct changeset.
author Pierre-Yves David <pierre-yves.david@logilab.fr>
date Wed, 25 Apr 2012 18:15:56 +0200
parents 80f602e6ae8a
children 0eceb5a48485
line wrap: on
line diff
--- a/tests/test-obsolete.t	Tue Apr 24 15:56:31 2012 +0200
+++ b/tests/test-obsolete.t	Wed Apr 25 18:15:56 2012 +0200
@@ -124,6 +124,7 @@
   adding manifests
   adding file changes
   added 5 changesets with 5 changes to 5 files (+1 heads)
+  $ qlog -R ../other-new verify
   $ qlog -R ../other-new -r 'obsolete()'
   2
   - 0d3f46688ccc
@@ -178,6 +179,15 @@
   $ qlog -R ../other-new -r 'obsolete()'
   2
   - 0d3f46688ccc
+
+Pushing again does not advertise extinct changeset
+
+  $ hg push ../other-new
+  pushing to ../other-new
+  searching for changes
+  no changes found
+  [1]
+
   $ hg up -q .^ # 3
   Working directory parent is obsolete
   $ mkcommit "obsol_d'" # 7