[MERGE] Re: Garbage in "bzr commit" output
John Arbash Meinel
john at arbash-meinel.com
Tue Jul 11 00:42:47 BST 2006
-----BEGIN PGP SIGNED MESSAGE-----
Matthieu Moy wrote:
> John Arbash Meinel <john at arbash-meinel.com> writes:
>> That said, which do you prefer, and ENV variable, or a global command to
>> disable progress bars?
> ENV variable would be fine to me.
>> Oh, and I believe I wrote a patch a long time ago, so that we at least
>> switch to DotsProgressBar if the output isn't a tty.
> There is a problem with this :
> $ bzr commit -m foo >&! /tmp/commit-result.txt
> gives me that garbage in /tmp/commit-result.txt.
Well, why are you doing >&! instead of just >!. I'm not sure what the
use case is for that...
That said, I did go ahead and implement BZR_PROGRESS_BAR, and env
variable that lets you set the default type of progress bar. One
possibility is 'none' which disables them.
Its based on my other progress work (to not clear the terminal), so I'm
just posting the diff. But the branch is available from:
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v184.108.40.206 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 9248 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20060710/86dd6403/attachment.bin
More information about the bazaar