Debian Codegraph @

doc/man/hg-bundle.1

raw
1 .TH HG BUNDLE "" "" ""
2 .SH NAME
3 hg bundle \- create a bundle file
4 .\" Man page generated from reStructuredText.
5 .
6 .SH SYNOPSIS
7 .sp
8 .nf
9 .ft C
10 hg bundle [\-f] [\-t BUNDLESPEC] [\-a] [\-r REV]... [\-\-base REV]... FILE [DEST]...
11 .ft P
12 .fi
13 .SH DESCRIPTION
14 .sp
15 Generate a bundle file containing data to be transferred to another
16 repository.
17 .sp
18 To create a bundle containing all changesets, use \-a/\-\-all
19 (or \-\-base null). Otherwise, hg assumes the destination will have
20 all the nodes you specify with \-\-base parameters. Otherwise, hg
21 will assume the repository has all the nodes in destination, or
22 default\-push/default if no destination is specified, where destination
23 is the repositories you provide through DEST option.
24 .sp
25 You can change bundle format with the \-t/\-\-type option. See
26 \%\fBhg help bundlespec\fP\: for documentation on this format. By default,
27 the most appropriate format is used and compression defaults to
28 bzip2.
29 .sp
30 The bundle file can then be transferred using conventional means
31 and applied to another repository with the unbundle or pull
32 command. This is useful when direct push and pull are not
33 available or when exporting an entire repository is undesirable.
34 .sp
35 Applying bundles preserves all changeset contents including
36 permissions, copy/rename information, and revision history.
37 .sp
38 Returns 0 on success, 1 if no changes found.
39 .SH OPTIONS
40 .INDENT 0.0
41 .TP
42 .B \-\-exact
43 .
44 compute the base from the revision specified
45 .TP
46 .B \-f, \-\-force
47 .
48 run even when the destination is unrelated
49 .TP
50 .BI \-r, \-\-rev \ <REV[+]>
51 .
52 a changeset intended to be added to the destination
53 .TP
54 .BI \-b, \-\-branch \ <BRANCH[+]>
55 .
56 a specific branch you would like to bundle
57 .TP
58 .BI \-\-base \ <REV[+]>
59 .
60 a base changeset assumed to be available at the destination
61 .TP
62 .B \-a, \-\-all
63 .
64 bundle all changesets in the repository
65 .TP
66 .BI \-t, \-\-type \ <TYPE>
67 .
68 bundle compression type to use (default: bzip2)
69 .TP
70 .BI \-e, \-\-ssh \ <CMD>
71 .
72 specify ssh command to use
73 .TP
74 .BI \-\-remotecmd \ <CMD>
75 .
76 specify hg command to run on the remote side
77 .TP
78 .B \-\-insecure
79 .
80 do not verify server certificate (ignoring web.cacerts config)
81 .UNINDENT
82 .sp
83 [+] marked option can be specified multiple times
84 .\" Generated by docutils manpage writer.
85 .\"
86 .