Debian Codegraph @

doc/man/hg-incoming.1

raw
1 .TH HG INCOMING "" "" ""
2 .SH NAME
3 hg incoming \- show new changesets found in source
4 .\" Man page generated from reStructuredText.
5 .
6 .SH SYNOPSIS
7 .sp
8 .nf
9 .ft C
10 hg incoming [\-p] [\-n] [\-M] [\-f] [\-r REV]... [\-\-bundle FILENAME] [SOURCE]
11 .ft P
12 .fi
13 .SH DESCRIPTION
14 .sp
15 Show new changesets found in the specified path/URL or the default
16 pull location. These are the changesets that would have been pulled
17 by \%\fBhg pull\fP\: at the time you issued this command.
18 .sp
19 See pull for valid source format details.
20 .sp
21 With \-B/\-\-bookmarks, the result of bookmark comparison between
22 local and remote repositories is displayed. With \-v/\-\-verbose,
23 status is also displayed for each bookmark like below:
24 .sp
25 .nf
26 .ft C
27 BM1 01234567890a added
28 BM2 1234567890ab advanced
29 BM3 234567890abc diverged
30 BM4 34567890abcd changed
31 .ft P
32 .fi
33 .sp
34 The action taken locally when pulling depends on the
35 status of each bookmark:
36 .INDENT 0.0
37 .TP
38 .B \fBadded\fP
39 .sp
40 pull will create it
41 .TP
42 .B \fBadvanced\fP
43 .sp
44 pull will update it
45 .TP
46 .B \fBdiverged\fP
47 .sp
48 pull will create a divergent bookmark
49 .TP
50 .B \fBchanged\fP
51 .sp
52 result depends on remote changesets
53 .UNINDENT
54 .sp
55 From the point of view of pulling behavior, bookmark
56 existing only in the remote repository are treated as \fBadded\fP,
57 even if it is in fact locally deleted.
58 .sp
59 For remote repository, using \-\-bundle avoids downloading the
60 changesets twice if the incoming is followed by a pull.
61 .sp
62 Examples:
63 .INDENT 0.0
64 .IP \(bu 2
65 .
66 show incoming changes with patches and full description:
67 .sp
68 .nf
69 .ft C
70 hg incoming \-vp
71 .ft P
72 .fi
73 .IP \(bu 2
74 .
75 show incoming changes excluding merges, store a bundle:
76 .sp
77 .nf
78 .ft C
79 hg in \-vpM \-\-bundle incoming.hg
80 hg pull incoming.hg
81 .ft P
82 .fi
83 .IP \(bu 2
84 .
85 briefly list changes inside a bundle:
86 .sp
87 .nf
88 .ft C
89 hg in changes.hg \-T "{desc|firstline}\en"
90 .ft P
91 .fi
92 .UNINDENT
93 .sp
94 Returns 0 if there are incoming changes, 1 otherwise.
95 .SH OPTIONS
96 .INDENT 0.0
97 .TP
98 .B \-f, \-\-force
99 .
100 run even if remote repository is unrelated
101 .TP
102 .B \-n, \-\-newest\-first
103 .
104 show newest record first
105 .TP
106 .BI \-\-bundle \ <FILE>
107 .
108 file to store the bundles into
109 .TP
110 .BI \-r, \-\-rev \ <REV[+]>
111 .
112 a remote changeset intended to be added
113 .TP
114 .B \-B, \-\-bookmarks
115 .
116 compare bookmarks
117 .TP
118 .BI \-b, \-\-branch \ <BRANCH[+]>
119 .
120 a specific branch you would like to pull
121 .TP
122 .B \-\-remote\-hidden
123 .
124 include changesets hidden on the remote (EXPERIMENTAL)
125 .TP
126 .B \-p, \-\-patch
127 .
128 show patch
129 .TP
130 .B \-g, \-\-git
131 .
132 use git extended diff format
133 .TP
134 .BI \-l, \-\-limit \ <NUM>
135 .
136 limit number of changes displayed
137 .TP
138 .B \-M, \-\-no\-merges
139 .
140 do not show merges
141 .TP
142 .B \-\-stat
143 .
144 output diffstat\-style summary of changes
145 .TP
146 .B \-G, \-\-graph
147 .
148 show the revision DAG
149 .TP
150 .BI \-\-style \ <STYLE>
151 .
152 display using template map file (DEPRECATED)
153 .TP
154 .BI \-T, \-\-template \ <TEMPLATE>
155 .
156 display with template
157 .TP
158 .BI \-e, \-\-ssh \ <CMD>
159 .
160 specify ssh command to use
161 .TP
162 .BI \-\-remotecmd \ <CMD>
163 .
164 specify hg command to run on the remote side
165 .TP
166 .B \-\-insecure
167 .
168 do not verify server certificate (ignoring web.cacerts config)
169 .TP
170 .B \-S, \-\-subrepos
171 .
172 recurse into subrepositories
173 .UNINDENT
174 .sp
175 [+] marked option can be specified multiple times
176 .SH ALIASES
177 .sp
178 .nf
179 .ft C
180 in
181 .ft P
182 .fi
183 .\" Generated by docutils manpage writer.
184 .\"
185 .