diff tests/test-obsolete.t @ 745:99e51aff724b

add obsolete parents wrapper to the 'parents' command although the command itself cannot *cause* obsolete changesets, the information is rather relevant to the state of the parents
author Dan Villiom Podlaski Christiansen <danchr@gmail.com>
date Wed, 16 Oct 2013 18:28:52 +0200
parents af74a5cdf96b
children 9300f48786de
line wrap: on
line diff
--- a/tests/test-obsolete.t	Wed Oct 16 18:23:54 2013 +0200
+++ b/tests/test-obsolete.t	Wed Oct 16 18:28:52 2013 +0200
@@ -120,6 +120,15 @@
   - 725c380fe99b
   $ hg up --hidden 3 -q
   working directory parent is obsolete!
+(reported by parents too)
+  $ hg parents
+  changeset:   3:0d3f46688ccc
+  parent:      1:7c3bad9141dc
+  user:        test
+  date:        Thu Jan 01 00:00:00 1970 +0000
+  summary:     add obsol_c
+  
+  working directory parent is obsolete!
   $ mkcommit d # 5 (on 3)
   1 new unstable changesets
   $ qlog -r 'obsolete()'