comparison tests/test-import.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 5ac8ce04baa2
children 7b3feaa1ee3f
comparison
equal deleted inserted replaced
25110:c9f382c8233a 25111:1ef96a3b8b89
988 parent: 1:d59915696727 tip 988 parent: 1:d59915696727 tip
989 help management of empty pkg and lib directories in perforce 989 help management of empty pkg and lib directories in perforce
990 branch: default 990 branch: default
991 commit: (clean) 991 commit: (clean)
992 update: (current) 992 update: (current)
993 phases: 2 draft (draft)
993 994
994 $ hg diff --git -c tip 995 $ hg diff --git -c tip
995 diff --git a/lib/place-holder b/lib/place-holder 996 diff --git a/lib/place-holder b/lib/place-holder
996 new file mode 100644 997 new file mode 100644
997 --- /dev/null 998 --- /dev/null