# HG changeset patch # User timeless # Date 1450364332 0 # Node ID 3da583097fca315313f24c49f0f2690537d06c0d # Parent 7e2495bf0ad8de820b519833635a9a90f0e9b23d bundle: clarify help text The file might not be compressed; the interactions between -a, --base, and a named or default repository weren't clear. diff -r 7e2495bf0ad8 -r 3da583097fca mercurial/commands.py --- a/mercurial/commands.py Sun Dec 13 20:07:19 2015 +0900 +++ b/mercurial/commands.py Thu Dec 17 14:58:52 2015 +0000 @@ -1300,13 +1300,14 @@ def bundle(ui, repo, fname, dest=None, **opts): """create a changegroup file - Generate a compressed changegroup file collecting changesets not - known to be in another repository. - - If you omit the destination repository, then hg assumes the - destination will have all the nodes you specify with --base - parameters. To create a bundle containing all changesets, use - -a/--all (or --base null). + Generate a changegroup file collecting changesets to be added + to a repository. + + To create a bundle containing all changesets, use -a/--all + (or --base null). Otherwise, hg assumes the destination will have + all the nodes you specify with --base parameters. Otherwise, hg + will assume the repository has all the nodes in destination, or + default-push/default if no destination is specified. You can change bundle format with the -t/--type option. You can specify a compression, a bundle version or both using a dash