[PATCH] bzrlib/builtins.py::cmd_branch help docstring improvement

John A Meinel john at arbash-meinel.com
Mon Sep 12 15:19:44 BST 2005


Jari Aalto wrote:
> Made it little more verbose, suggested by Aaron Bentley.
>
> Jari
>
> --- bzrlib/builtins.py
> +++ bzrlib/builtins.py
> @@ -348,10 +348,11 @@
>      """Create a new copy of a branch.
>
>      If the TO_LOCATION is omitted, the last component of the FROM_LOCATION will
> -    be used.  In other words, "branch ../foo/bar" will attempt to create ./bar.
> -
> -    To retrieve the branch as of a particular revision, supply the --revision
> -    parameter, as in "branch foo/bar -r 5".
> +    be used. In other words, "branch ../foo/bar" will attempt to create ./bar.
> +
> +    To retrieve the branch contains all revisions up to and including
> +    the revision, supply the --revision parameter, as in "branch
> +    foo/bar -r 5".
>      """
>      takes_args = ['from_location', 'to_location?']
>      takes_options = ['revision']
>
>
>

I don't think that sounds quite right. It should be more something like:

Supplying the --revision option will limit the new branch to only
including revisions from 1 to the supplied value.

Or something like that.

John
=:->

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 253 bytes
Desc: OpenPGP digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20050912/707dea5b/attachment.pgp 


More information about the bazaar mailing list