diff tests/test-obsolete.t @ 473:1f8f8dd75d18

obsolete: prevent bare hg update to select hidden changeset The issue remain with branch name.
author Pierre-Yves David <pierre-yves.david@ens-lyon.org>
date Tue, 21 Aug 2012 04:36:25 +0200
parents 8be3973adf34
children b63da0fb8ee5
line wrap: on
line diff
--- a/tests/test-obsolete.t	Tue Aug 21 02:50:11 2012 +0200
+++ b/tests/test-obsolete.t	Tue Aug 21 04:36:25 2012 +0200
@@ -436,6 +436,16 @@
   0
   - 1f0dee641bb7
 
+Check that auto update ignore hidden changeset
+  $ hg up 0
+  1 files updated, 0 files merged, 0 files removed, 0 files unresolved
+  $ hg up 
+  3 files updated, 0 files merged, 0 files removed, 0 files unresolved
+  $ hg id -n
+  8
+
+  $ hg up null -q # to be not based on 9 anymore
+
 check rebase compat
 
   $ hg glog -r 'not extinct()'  --template='{rev} - {node|short}\n'