0.18: Too verbose commit

John Arbash Meinel john at arbash-meinel.com
Thu Aug 2 15:06:57 BST 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Jari Aalto wrote:
> Hi,
> 
> After upgrading to 0.18, the commit is, ahem, way too verbose. It
> would be better if these messages appeared only with -v option.
> 
> I'd normally expect clean and simple message:
> 
>    $ bzr ci -m "- fixed ..."
>    Committed revision 1.
>    $
> 
> That way I can still scroll the screen upward to see my previous
> messages. With the above, I can't see (and use texts) from previous
> shell prompts.
> 
> Jari


Well, to start with it looks like we don't believe you are on a TTY. So you are
getting a 'dots' progress bar, rather than a standard TTYProgressBar.

Specifically, we write:

Collecting .... \r
added patches-original...\n
Collecting .... \r

So we should be using '\r' to clear the line.

Also, I don't think you realize that there is a global '-q' option. Which does
have specific effect for 'commit'.

Unfortunately, because it is a "global" option, it doesn't show up in help
output, and it can't be set in an alias. (One more reason to change how it is
done).

If you are running in emacs, I think you can set BZR_PROGRESS_BAR=tty, or =none
to use the '\r' one, or eliminate those lines.

(I can confirm that BZR_PROGESS_BAR=dots looks *really* ugly)

John
=:->

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGseUBJdeBCYSNAAMRAuWBAJ9WGuXw8knuIFEuaP/ca+Xb8qnh5QCgh+cw
CWVnRhOOgluh16dqt0iNY1E=
=sVXD
-----END PGP SIGNATURE-----



More information about the bazaar mailing list