1298 ] + remoteopts, |
1298 ] + remoteopts, |
1299 _('[-f] [-t TYPE] [-a] [-r REV]... [--base REV]... FILE [DEST]')) |
1299 _('[-f] [-t TYPE] [-a] [-r REV]... [--base REV]... FILE [DEST]')) |
1300 def bundle(ui, repo, fname, dest=None, **opts): |
1300 def bundle(ui, repo, fname, dest=None, **opts): |
1301 """create a changegroup file |
1301 """create a changegroup file |
1302 |
1302 |
1303 Generate a compressed changegroup file collecting changesets not |
1303 Generate a changegroup file collecting changesets to be added |
1304 known to be in another repository. |
1304 to a repository. |
1305 |
1305 |
1306 If you omit the destination repository, then hg assumes the |
1306 To create a bundle containing all changesets, use -a/--all |
1307 destination will have all the nodes you specify with --base |
1307 (or --base null). Otherwise, hg assumes the destination will have |
1308 parameters. To create a bundle containing all changesets, use |
1308 all the nodes you specify with --base parameters. Otherwise, hg |
1309 -a/--all (or --base null). |
1309 will assume the repository has all the nodes in destination, or |
|
1310 default-push/default if no destination is specified. |
1310 |
1311 |
1311 You can change bundle format with the -t/--type option. You can |
1312 You can change bundle format with the -t/--type option. You can |
1312 specify a compression, a bundle version or both using a dash |
1313 specify a compression, a bundle version or both using a dash |
1313 (comp-version). The available compression methods are: none, bzip2, |
1314 (comp-version). The available compression methods are: none, bzip2, |
1314 and gzip (by default, bundles are compressed using bzip2). The |
1315 and gzip (by default, bundles are compressed using bzip2). The |