Debian Codegraph @

doc/man/hg-pull.1

raw
1 .TH HG PULL "" "" ""
2 .SH NAME
3 hg pull \- pull changes from the specified source
4 .\" Man page generated from reStructuredText.
5 .
6 .SH SYNOPSIS
7 .sp
8 .nf
9 .ft C
10 hg pull [\-u] [\-f] [\-r REV]... [\-e CMD] [\-\-remotecmd CMD] [SOURCE]...
11 .ft P
12 .fi
13 .SH DESCRIPTION
14 .sp
15 Pull changes from a remote repository to a local one.
16 .sp
17 This finds all changes from the repository at the specified path
18 or URL and adds them to a local repository (the current one unless
19 \-R is specified). By default, this does not update the copy of the
20 project in the working directory.
21 .sp
22 When cloning from servers that support it, Mercurial may fetch
23 pre\-generated data. When this is done, hooks operating on incoming
24 changesets and changegroups may fire more than once, once for each
25 pre\-generated bundle and as well as for any additional remaining
26 data. See \%\fBhg help \-e clonebundles\fP\: for more.
27 .sp
28 Use \%\fBhg incoming\fP\: if you want to see what would have been added
29 by a pull at the time you issued this command. If you then decide
30 to add those changes to the repository, you should use \%\fBhg pull
31 \-r X\fP\: where \fBX\fP is the last changeset listed by \%\fBhg incoming\fP\:.
32 .sp
33 If SOURCE is omitted, the \(aqdefault\(aq path will be used.
34 See \%\fBhg help urls\fP\: for more information.
35 .sp
36 If multiple sources are specified, they will be pulled sequentially as if
37 the command was run multiple times. If \-\-update is specified, the command
38 will stop at the first failed \-\-update.
39 .sp
40 Specifying bookmark as \fB.\fP is equivalent to specifying the active
41 bookmark\(aqs name.
42 .sp
43 One can use the \fI\-\-remote\-hidden\fP flag to pull changesets
44 hidden on the remote. This flag is "best effort", and will only
45 work if the server supports the feature and is configured to
46 allow the user to access hidden changesets. This option is
47 experimental and backwards compatibility is not guaranteed.
48 .sp
49 Returns 0 on success, 1 if an update had unresolved files.
50 .SH OPTIONS
51 .INDENT 0.0
52 .TP
53 .B \-u, \-\-update
54 .
55 update to new branch head if new descendants were pulled
56 .TP
57 .B \-f, \-\-force
58 .
59 run even when remote repository is unrelated
60 .TP
61 .B \-\-confirm
62 .
63 confirm pull before applying changes
64 .TP
65 .BI \-r, \-\-rev \ <REV[+]>
66 .
67 a remote changeset intended to be added
68 .TP
69 .BI \-B, \-\-bookmark \ <BOOKMARK[+]>
70 .
71 bookmark to pull
72 .TP
73 .BI \-b, \-\-branch \ <BRANCH[+]>
74 .
75 a specific branch you would like to pull
76 .TP
77 .B \-\-remote\-hidden
78 .
79 include changesets hidden on the remote (EXPERIMENTAL)
80 .TP
81 .BI \-e, \-\-ssh \ <CMD>
82 .
83 specify ssh command to use
84 .TP
85 .BI \-\-remotecmd \ <CMD>
86 .
87 specify hg command to run on the remote side
88 .TP
89 .B \-\-insecure
90 .
91 do not verify server certificate (ignoring web.cacerts config)
92 .UNINDENT
93 .sp
94 [+] marked option can be specified multiple times
95 .\" Generated by docutils manpage writer.
96 .\"
97 .