Debian Codegraph @

doc/html/hg-phase.html

raw
1 <?xml version="1.0" encoding="utf-8"?>
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4 <head>
5 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6 <meta name="generator" content="Docutils 0.21.2: https://docutils.sourceforge.io/" />
7 <title>hg phase</title>
8 <link rel="stylesheet" href="../style.css" type="text/css" />
9 </head>
10 <body>
11 <div class="document" id="hg-phase">
12 <span id="hg-phase-1"></span>
13 <h1 class="title">hg phase</h1>
14 <h2 class="subtitle" id="set-or-show-the-current-phase-name">set or show the current phase name</h2>
15
16 <div class="contents htmlonly topic" id="contents">
17 <p class="topic-title"><a class="reference internal" href="#top">Contents</a></p>
18 <ul class="simple">
19 <li><a class="reference internal" href="#synopsis" id="toc-entry-1">Synopsis</a></li>
20 <li><a class="reference internal" href="#description" id="toc-entry-2">Description</a></li>
21 <li><a class="reference internal" href="#options" id="toc-entry-3">Options</a></li>
22 </ul>
23 </div>
24 <div class="section" id="synopsis">
25 <h1><a class="toc-backref" href="#contents">Synopsis</a></h1>
26 <pre class="literal-block">
27 hg phase [-p|-d|-s] [-f] [-r] [REV...]
28 </pre>
29 </div>
30 <div class="section" id="description">
31 <h1><a class="toc-backref" href="#contents">Description</a></h1>
32 <p>With no argument, show the phase name of the current revision(s).</p>
33 <p>With one of -p/--public, -d/--draft or -s/--secret, change the
34 phase value of the specified revisions.</p>
35 <p>Unless -f/--force is specified, <a class="reference external" href="hg-phase.html"><tt class="docutils literal">hg phase</tt></a> won't move changesets from a
36 lower phase to a higher phase. Phases are ordered as follows:</p>
37 <pre class="literal-block">
38 public &lt; draft &lt; secret
39 </pre>
40 <p>Returns 0 on success, 1 if some phases could not be changed.</p>
41 <p>(For more information about the phases concept, see <a class="reference external" href="topic-phases.html"><tt class="docutils literal">hg help phases</tt></a>.)</p>
42 </div>
43 <div class="section" id="options">
44 <h1><a class="toc-backref" href="#contents">Options</a></h1>
45 <table class="docutils option-list" frame="void" rules="none">
46 <col class="option" />
47 <col class="description" />
48 <tbody valign="top">
49 <tr><td class="option-group">
50 <kbd><span class="option">-p</span>, <span class="option">--public</span></kbd></td>
51 <td>set changeset phase to public</td></tr>
52 <tr><td class="option-group">
53 <kbd><span class="option">-d</span>, <span class="option">--draft</span></kbd></td>
54 <td>set changeset phase to draft</td></tr>
55 <tr><td class="option-group">
56 <kbd><span class="option">-s</span>, <span class="option">--secret</span></kbd></td>
57 <td>set changeset phase to secret</td></tr>
58 <tr><td class="option-group">
59 <kbd><span class="option">-f</span>, <span class="option">--force</span></kbd></td>
60 <td>allow to move boundary backward</td></tr>
61 <tr><td class="option-group" colspan="2">
62 <kbd><span class="option">-r</span>, <span class="option">--rev <var>&lt;REV[+]&gt;</var></span></kbd></td>
63 </tr>
64 <tr><td>&nbsp;</td><td>target revision</td></tr>
65 </tbody>
66 </table>
67 <p>[+] marked option can be specified multiple times</p>
68 </div>
69 </div>
70 </body>
71 </html>