Skip to content
Snippets Groups Projects
  • Gilles Moris's avatar
    1ef96a3b
    summary: add a phase line (draft, secret) to the output · 1ef96a3b
    Gilles Moris authored
    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.
    1ef96a3b
    History
    summary: add a phase line (draft, secret) to the output
    Gilles Moris authored
    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.
test-copy.t 5.29 KiB