While still not perfect (some edge cases needs to completely disable the progress output,
see bug #387717), the following goes a long way to address the problem under
emacs (part of my .bashrc):
# If we are inside an emacs shell, tell bzr it can use a text UI
# an a tty progress bar
emacs_shell=`echo $INSIDE_EMACS | grep comint`
if [ "$emacs_shell" != "" ] ; then
export BZR_USE_TEXT_UI=1
export BZR_PROGRESS_BAR=tty
fi
While still not perfect (some edge cases needs to completely disable the progress output,
see bug #387717), the following goes a long way to address the problem under
emacs (part of my .bashrc):
# If we are inside an emacs shell, tell bzr it can use a text UI BAR=tty
# an a tty progress bar
emacs_shell=`echo $INSIDE_EMACS | grep comint`
if [ "$emacs_shell" != "" ] ; then
export BZR_USE_TEXT_UI=1
export BZR_PROGRESS_
fi