comparison tests/test-rebase-parameters.t @ 25111:1ef96a3b8b89

summary: add a phase line (draft, secret) to the output The number of draft and secret changesets are currently not summarized. This is an important information because the number of drafts give some rough idea of the number of outgoing changesets in typical workflows, without needing to probe a remote repository. And a non-zero number of secrets means that those changeset will not be pushed. If the repository is "dirty" - some draft or secret changesets exists - then summary will display a line like: phases: X draft, Y secret (public) The phase in parenthesis corresponds to the highest phase of the parents of the working directory, i.e. the current phase. By default, the line is not printed if the repository is "clean" - all changesets are public - but if verbose is activated, it will display: phases: (public) On the other hand, nothing will be printed if quiet is in action. A few tests have been added in test-phases.t to cover the -v and -q cases.
author Gilles Moris <gilles.moris@free.fr>
date Thu, 14 May 2015 17:38:38 +0200
parents 3cbb5bf4035d
children 6084926366b9
comparison
equal deleted inserted replaced
25110:c9f382c8233a 25111:1ef96a3b8b89
474 parent: 2:e4e3f3546619 tip 474 parent: 2:e4e3f3546619 tip
475 c2b 475 c2b
476 branch: default 476 branch: default
477 commit: 1 modified, 1 unresolved (merge) 477 commit: 1 modified, 1 unresolved (merge)
478 update: (current) 478 update: (current)
479 phases: 3 draft (draft)
479 rebase: 0 rebased, 1 remaining (rebase --continue) 480 rebase: 0 rebased, 1 remaining (rebase --continue)
480 481
481 $ hg resolve -l 482 $ hg resolve -l
482 U c2 483 U c2
483 484