diff tests/test-obsolete.t @ 25382:6084926366b9

summary: move the parents phase marker to commit line (issue4688) The phase of the pending commit depends on the parent of the working directory and on the phases.newcommit configuration. First, this information rather depend on the commit line which describe the pending commit. Then, we only want to be advertised when the pending phase is going to be higher than the default new commit phase. So the format will change from $ hg summary parent: 2:ab91dfabc5ad foo parent: 3:24f1031ad244 tip bar branch: default commit: 1 modified, 1 unknown, 1 unresolved (merge) update: (current) phases: 1 secret (secret) to parent: 2:ab91dfabc5ad foo parent: 3:24f1031ad244 tip bar branch: default commit: 1 modified, 1 unknown, 1 unresolved (merge) (secret) update: (current) phases: 1 secret
author Gilles Moris <gilles.moris@free.fr>
date Fri, 29 May 2015 22:23:58 +0200
parents 97513f9d2e38
children 4d2b9b304ad0
line wrap: on
line diff
--- a/tests/test-obsolete.t	Mon May 25 16:48:55 2015 -0700
+++ b/tests/test-obsolete.t	Fri May 29 22:23:58 2015 +0200
@@ -168,7 +168,7 @@
   branch: default
   commit: (clean)
   update: (current)
-  phases: 3 draft (draft)
+  phases: 3 draft
   remote: 3 outgoing
 
   $ hg summary --remote --hidden
@@ -177,7 +177,7 @@
   branch: default
   commit: (clean)
   update: 3 new changesets, 4 branch heads (merge)
-  phases: 6 draft (draft)
+  phases: 6 draft
   remote: 3 outgoing
 
 check that various commands work well with filtering