[PATCH] commit code cleanup

Robert Collins robertc at robertcollins.net
Wed May 30 00:02:15 BST 2007


On Mon, 2007-05-28 at 16:31 +1000, Ian Clatworthy wrote:
> +        :param strict: If true, don't allow a commit if the working
> tree
> +                       contains unknown files.
> +
> +        :param revprops: Properties for new revision
>          :param local: Perform a local only commit.
>          :param recursive: If set to 'down', commit in any subtrees
> that have
> -            pending changes of any sort during this commit.
> +                          pending changes of any sort during this
> commit.
>          """ 

This formatting is inconsistent with the rest of bzr:

    :param FOO: long line that requires 
        wrapping

is how we have been doing it. I dont really care which way we do it, but
lets not change horses in a single file. I do have a slight preference
for the current form because the indents are always the same amount and
that makes it easier to read to me.

-Rob
-- 
GPG key available at: <http://www.robertcollins.net/keys.txt>.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20070530/d4f56e1d/attachment.pgp 


More information about the bazaar mailing list