Show More
@@ -398,9 +398,10 b' def bundle(ui, repo, fname, dest=None, *' | |||
|
398 | 398 | Generate a compressed changegroup file collecting changesets not |
|
399 | 399 | found in the other repository. |
|
400 | 400 | |
|
401 |
If no destination repository is specified the destination is |
|
|
402 |
to have all the nodes specified by one or more --base |
|
|
403 |
To create a bundle containing all changesets, use |
|
|
401 | If no destination repository is specified the destination is | |
|
402 | assumed to have all the nodes specified by one or more --base | |
|
403 | parameters. To create a bundle containing all changesets, use | |
|
404 | --all (or --base null). | |
|
404 | 405 | |
|
405 | 406 | The bundle file can then be transferred using conventional means and |
|
406 | 407 | applied to another repository with the unbundle or pull command. |
@@ -413,7 +414,10 b' def bundle(ui, repo, fname, dest=None, *' | |||
|
413 | 414 | revs = opts.get('rev') or None |
|
414 | 415 | if revs: |
|
415 | 416 | revs = [repo.lookup(rev) for rev in revs] |
|
416 |
|
|
|
417 | if opts.get('all'): | |
|
418 | base = ['null'] | |
|
419 | else: | |
|
420 | base = opts.get('base') | |
|
417 | 421 | if base: |
|
418 | 422 | if dest: |
|
419 | 423 | raise util.Abort(_("--base is incompatible with specifiying " |
@@ -2812,8 +2816,10 b' table = {' | |||
|
2812 | 2816 | _('a changeset you would like to bundle')), |
|
2813 | 2817 | ('', 'base', [], |
|
2814 | 2818 | _('a base changeset to specify instead of a destination')), |
|
2819 | ('a', 'all', None, | |
|
2820 | _('bundle all changesets in the repository')), | |
|
2815 | 2821 | ] + remoteopts, |
|
2816 | _('hg bundle [-f] [-r REV]... [--base REV]... FILE [DEST]')), | |
|
2822 | _('hg bundle [-f] [-a] [-r REV]... [--base REV]... FILE [DEST]')), | |
|
2817 | 2823 | "cat": |
|
2818 | 2824 | (cat, |
|
2819 | 2825 | [('o', 'output', '', _('print output to file with formatted name')), |
General Comments 0
You need to be logged in to leave comments.
Login now