comparison mercurial/help/phases.txt @ 16011:f2c49d9dee57 stable

help: add examples to phases topic
author Matt Mackall <mpm@selenic.com>
date Fri, 27 Jan 2012 18:43:41 -0600
parents 25fa240139cb
children 6a959318c58e
comparison
equal deleted inserted replaced
16010:c7811ca6fb94 16011:f2c49d9dee57
56 56
57 .. note:: 57 .. note::
58 Servers running older versions of Mercurial are treated as 58 Servers running older versions of Mercurial are treated as
59 publishing. 59 publishing.
60 60
61 See :hg:`help phase` for information on manually manipulating phases. 61 Examples
62 --------
63
64 - list changesets in draft or secret phase::
65
66 hg log -r "not public()"
67
68 - change all secret changesets to draft::
69
70 hg phase --draft "secret()"
71
72 - forcibly move the current changeset and descendants from public to draft::
73
74 hg phase --force --draft .
75
76 - show a list of changeset revision and phase::
77
78 hg log --template "{rev} {phase}\n"
79
80 See :hg:`help phase` for more information on manually manipulating phases.