bzr init showing info - time to revert it?

Robert Collins robertc at robertcollins.net
Mon Jan 5 22:36:22 GMT 2009


On Mon, 2009-01-05 at 19:04 +0200, Marius Kruger wrote:
> 2009/1/5 Robert Collins <robertc at robertcollins.net>
>         I'd really like to revert the change made to show the output
>         of 'bzr
>         info' after init.
> 
> I'm willing to fix this once we know what we want. (since I did the
> original damage.)

Thank you. Knowing what we want is hard :).

>         If the main thing is that we want to change away from an
>         approach of
>         silent-commands-when-things-worked, well lets do that. The
>         appropriate
>         output for 'init' in that case would be the action taken, not
>         the full
>         info of the resulting tree.
>  
> fine. would the following be acceptable:
> 
> === current ===
> $ bzr init /tmp/x
> Standalone tree (format: pack-0.92)
> Location:
>   branch root: x
> === new ===
> $ bzr init /tmp/x
> Created a standalone tree (format: pack-0.92)
> 
> === current ===
> $ bzr init-repo /tmp/r
> Shared repository with trees (format: pack-0.92)
> Location:
>   shared repository: r
> 
> $ bzr init /tmp/r/x
> Repository tree (format: pack-0.92)
> Location:
>   shared repository: r
>   repository branch: r/x
> 
> === new ===
> $ bzr init-repo /tmp/r
> Created a shared repository with trees (format: pack-0.92)
> 
> $ bzr init /tmp/r/x
> Created a repository tree (format: pack-0.92)
> Shared repository: /tmp/r

I think these abbreviated forms are an improvement. That seems
uncontentious given the other responses in this thread. If you wanted to
do that now I'd be happy to review it.

The other question, whether to show this without -v, seems more
contentious. My sense is that there is more vocal support for
silent-by-default, but I'm not sure that this isn't 'just' the
core-unixy-types [of which I'm one :P]. But we can discuss this part
some more without blocking improving what we do show.

-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: 197 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20090106/b70c2f7a/attachment.pgp 


More information about the bazaar mailing list