[Success!] [merge] MVC progress bars, and indication of network traffic
Vincent Ladeuil
v.ladeuil+lp at free.fr
Fri Jan 16 20:23:17 GMT 2009
>>>>> "Gary" == Gary van der Merwe <garyvdm at gmail.com> writes:
Gary> On Thu, Jan 15, 2009 at 9:46 AM, Bundle Buggy
Gary> <bundlebuggy at aaronbentley.com> wrote:
>> This change has been merged.
>> Previous status: Conditionally approved
>>
>> For details, see:
>> http://bundlebuggy.aaronbentley.com/project/bzr/request/%3C20081216230413.GB14193%40sourcefrog.net%3E
>> Project: Bazaar
>>
>>
Gary> Hi
Gary> I just want to check that this is not going to land for 1.11.
I think Martin land it at the earliest in *1.12* cycle so that we
can all enjoy, debug and complete :-)
Gary> If it is, I would like some time to get qbzr compatible
Gary> with the new api.
The following was enough to make qbzr and emacs happy, I'll
polished it more and submit it later but I thought qbzr users may
be interested in the mean time because qbzr is ok.
=== modified file 'bzrlib/ui/__init__.py'
--- bzrlib/ui/__init__.py 2009-01-13 05:07:27 +0000
+++ bzrlib/ui/__init__.py 2009-01-15 17:40:39 +0000
@@ -172,6 +172,11 @@
def prompt(self, prompt):
"""Emit prompt on the CLI."""
+ self.stdout.write(prompt)
+
+ def note(self, msg):
+ """Write an already-formatted message."""
+ self.stdout.write(msg + '\n')
def clear_term(self):
pass
@@ -195,6 +200,8 @@
def get_password(self, prompt='', **kwargs):
return None
+ def prompt(self, prompt):
+ pass
def note(self, msg):
pass
@@ -222,9 +229,9 @@
cls = CLIUIFactory
elif not isatty():
cls = CLIUIFactory
- elif os.environ.get('TERM') in (None, 'dumb', ''):
- # e.g. emacs compile window
- cls = CLIUIFactory
+# elif os.environ.get('TERM') in (None, 'dumb', ''):
+# # e.g. emacs compile window
+# cls = CLIUIFactory
else:
from bzrlib.ui.text import TextUIFactory
cls = TextUIFactory
More information about the bazaar
mailing list