Debian Codegraph @

doc/html/hg-outgoing.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 outgoing</title>
8 <link rel="stylesheet" href="../style.css" type="text/css" />
9 </head>
10 <body>
11 <div class="document" id="hg-outgoing">
12 <span id="hg-outgoing-1"></span>
13 <h1 class="title">hg outgoing</h1>
14 <h2 class="subtitle" id="show-changesets-not-found-in-the-destination">show changesets not found in the destination</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 <li><a class="reference internal" href="#aliases" id="toc-entry-4">Aliases</a></li>
23 </ul>
24 </div>
25 <div class="section" id="synopsis">
26 <h1><a class="toc-backref" href="#contents">Synopsis</a></h1>
27 <pre class="literal-block">
28 hg outgoing [-M] [-p] [-n] [-f] [-r REV]... [DEST]...
29 </pre>
30 </div>
31 <div class="section" id="description">
32 <h1><a class="toc-backref" href="#contents">Description</a></h1>
33 <p>Show changesets not found in the specified destination repository
34 or the default push location. These are the changesets that would
35 be pushed if a push was requested.</p>
36 <p>See pull for details of valid destination formats.</p>
37 <div class="verbose docutils container">
38 <p>With -B/--bookmarks, the result of bookmark comparison between
39 local and remote repositories is displayed. With -v/--verbose,
40 status is also displayed for each bookmark like below:</p>
41 <pre class="literal-block">
42 BM1 01234567890a added
43 BM2 deleted
44 BM3 234567890abc advanced
45 BM4 34567890abcd diverged
46 BM5 4567890abcde changed
47 </pre>
48 <p>The action taken when pushing depends on the
49 status of each bookmark:</p>
50 <table class="docutils field-list" frame="void" rules="none">
51 <col class="field-name" />
52 <col class="field-body" />
53 <tbody valign="top">
54 <tr class="field"><th class="field-name"><tt class="docutils literal">added</tt>:</th><td class="field-body">push with <tt class="docutils literal"><span class="pre">-B</span></tt> will create it</td>
55 </tr>
56 <tr class="field"><th class="field-name"><tt class="docutils literal">deleted</tt>:</th><td class="field-body">push with <tt class="docutils literal"><span class="pre">-B</span></tt> will delete it</td>
57 </tr>
58 <tr class="field"><th class="field-name"><tt class="docutils literal">advanced</tt>:</th><td class="field-body">push will update it</td>
59 </tr>
60 <tr class="field"><th class="field-name"><tt class="docutils literal">diverged</tt>:</th><td class="field-body">push with <tt class="docutils literal"><span class="pre">-B</span></tt> will update it</td>
61 </tr>
62 <tr class="field"><th class="field-name"><tt class="docutils literal">changed</tt>:</th><td class="field-body">push with <tt class="docutils literal"><span class="pre">-B</span></tt> will update it</td>
63 </tr>
64 </tbody>
65 </table>
66 <p>From the point of view of pushing behavior, bookmarks
67 existing only in the remote repository are treated as
68 <tt class="docutils literal">deleted</tt>, even if it is in fact added remotely.</p>
69 </div>
70 <p>Returns 0 if there are outgoing changes, 1 otherwise.</p>
71 </div>
72 <div class="section" id="options">
73 <h1><a class="toc-backref" href="#contents">Options</a></h1>
74 <table class="docutils option-list" frame="void" rules="none">
75 <col class="option" />
76 <col class="description" />
77 <tbody valign="top">
78 <tr><td class="option-group">
79 <kbd><span class="option">-f</span>, <span class="option">--force</span></kbd></td>
80 <td>run even when the destination is unrelated</td></tr>
81 <tr><td class="option-group" colspan="2">
82 <kbd><span class="option">-r</span>, <span class="option">--rev <var>&lt;REV[+]&gt;</var></span></kbd></td>
83 </tr>
84 <tr><td>&nbsp;</td><td>a changeset intended to be included in the destination</td></tr>
85 <tr><td class="option-group" colspan="2">
86 <kbd><span class="option">-n</span>, <span class="option">--newest-first</span></kbd></td>
87 </tr>
88 <tr><td>&nbsp;</td><td>show newest record first</td></tr>
89 <tr><td class="option-group" colspan="2">
90 <kbd><span class="option">-B</span>, <span class="option">--bookmarks</span></kbd></td>
91 </tr>
92 <tr><td>&nbsp;</td><td>compare bookmarks</td></tr>
93 <tr><td class="option-group" colspan="2">
94 <kbd><span class="option">-b</span>, <span class="option">--branch <var>&lt;BRANCH[+]&gt;</var></span></kbd></td>
95 </tr>
96 <tr><td>&nbsp;</td><td>a specific branch you would like to push</td></tr>
97 <tr><td class="option-group">
98 <kbd><span class="option">-p</span>, <span class="option">--patch</span></kbd></td>
99 <td>show patch</td></tr>
100 <tr><td class="option-group">
101 <kbd><span class="option">-g</span>, <span class="option">--git</span></kbd></td>
102 <td>use git extended diff format</td></tr>
103 <tr><td class="option-group" colspan="2">
104 <kbd><span class="option">-l</span>, <span class="option">--limit <var>&lt;NUM&gt;</var></span></kbd></td>
105 </tr>
106 <tr><td>&nbsp;</td><td>limit number of changes displayed</td></tr>
107 <tr><td class="option-group" colspan="2">
108 <kbd><span class="option">-M</span>, <span class="option">--no-merges</span></kbd></td>
109 </tr>
110 <tr><td>&nbsp;</td><td>do not show merges</td></tr>
111 <tr><td class="option-group">
112 <kbd><span class="option">--stat</span></kbd></td>
113 <td>output diffstat-style summary of changes</td></tr>
114 <tr><td class="option-group">
115 <kbd><span class="option">-G</span>, <span class="option">--graph</span></kbd></td>
116 <td>show the revision DAG</td></tr>
117 <tr><td class="option-group" colspan="2">
118 <kbd><span class="option">--style <var>&lt;STYLE&gt;</var></span></kbd></td>
119 </tr>
120 <tr><td>&nbsp;</td><td>display using template map file (DEPRECATED)</td></tr>
121 <tr><td class="option-group" colspan="2">
122 <kbd><span class="option">-T</span>, <span class="option">--template <var>&lt;TEMPLATE&gt;</var></span></kbd></td>
123 </tr>
124 <tr><td>&nbsp;</td><td>display with template</td></tr>
125 <tr><td class="option-group" colspan="2">
126 <kbd><span class="option">-e</span>, <span class="option">--ssh <var>&lt;CMD&gt;</var></span></kbd></td>
127 </tr>
128 <tr><td>&nbsp;</td><td>specify ssh command to use</td></tr>
129 <tr><td class="option-group" colspan="2">
130 <kbd><span class="option">--remotecmd <var>&lt;CMD&gt;</var></span></kbd></td>
131 </tr>
132 <tr><td>&nbsp;</td><td>specify hg command to run on the remote side</td></tr>
133 <tr><td class="option-group">
134 <kbd><span class="option">--insecure</span></kbd></td>
135 <td>do not verify server certificate (ignoring web.cacerts config)</td></tr>
136 <tr><td class="option-group">
137 <kbd><span class="option">-S</span>, <span class="option">--subrepos</span></kbd></td>
138 <td>recurse into subrepositories</td></tr>
139 </tbody>
140 </table>
141 <p>[+] marked option can be specified multiple times</p>
142 </div>
143 <div class="section" id="aliases">
144 <h1><a class="toc-backref" href="#contents">Aliases</a></h1>
145 <pre class="literal-block">
146 out
147 </pre>
148 </div>
149 </div>
150 </body>
151 </html>