##// END OF EJS Templates
help: add examples to phases topic
Matt Mackall -
r16011:f2c49d9d stable
parent child Browse files
Show More
@@ -58,4 +58,23 b' See :hg:`help config` for more informati'
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.
General Comments 0
You need to be logged in to leave comments. Login now