1155 ] + remoteopts, |
1155 ] + remoteopts, |
1156 _('[-f] [-t BUNDLESPEC] [-a] [-r REV]... [--base REV]... FILE [DEST]')) |
1156 _('[-f] [-t BUNDLESPEC] [-a] [-r REV]... [--base REV]... FILE [DEST]')) |
1157 def bundle(ui, repo, fname, dest=None, **opts): |
1157 def bundle(ui, repo, fname, dest=None, **opts): |
1158 """create a bundle file |
1158 """create a bundle file |
1159 |
1159 |
1160 Generate a bundle file containing data to be added to a repository. |
1160 Generate a bundle file containing data to be transferred to another |
|
1161 repository. |
1161 |
1162 |
1162 To create a bundle containing all changesets, use -a/--all |
1163 To create a bundle containing all changesets, use -a/--all |
1163 (or --base null). Otherwise, hg assumes the destination will have |
1164 (or --base null). Otherwise, hg assumes the destination will have |
1164 all the nodes you specify with --base parameters. Otherwise, hg |
1165 all the nodes you specify with --base parameters. Otherwise, hg |
1165 will assume the repository has all the nodes in destination, or |
1166 will assume the repository has all the nodes in destination, or |
1166 default-push/default if no destination is specified. |
1167 default-push/default if no destination is specified, where destination |
|
1168 is the repository you provide through DEST option. |
1167 |
1169 |
1168 You can change bundle format with the -t/--type option. See |
1170 You can change bundle format with the -t/--type option. See |
1169 :hg:`help bundlespec` for documentation on this format. By default, |
1171 :hg:`help bundlespec` for documentation on this format. By default, |
1170 the most appropriate format is used and compression defaults to |
1172 the most appropriate format is used and compression defaults to |
1171 bzip2. |
1173 bzip2. |