~bzr-pqm/bzr/bzr.dev

terminal_width can now returns None.

* bzrlib/win32utils.py:
(get_console_size): Fix typo in comment.

* bzrlib/ui/text.py:
(TextProgressView._show_line): Handle the no terminal present case.

* bzrlib/tests/test_osutils.py:
(TestTerminalWidth): Update tests.

* bzrlib/tests/blackbox/test_too_much.py:
Fix some imports.
(OldTests.test_bzr): Handle the no terminal present case.

* bzrlib/tests/__init__.py:
(VerboseTestResult.report_test_start): Handle the no terminal
present case.

* bzrlib/status.py:
(show_pending_merges): Handle the no terminal present case.
(show_pending_merges.show_log_message): Factor out some
code. Handle the no terminal present case.

* bzrlib/osutils.py:
(terminal_width): Return None if no precise value can be found.

* bzrlib/log.py:
(LineLogFormatter.__init__): Handle the no terminal present case.
(LineLogFormatter.truncate): Accept None as max_len meaning no
truncation.
(LineLogFormatter.log_string): 

* bzrlib/help.py:
(_help_commands_to_text): Handle the no terminal present case.
Filename Latest Rev Last Changed Committer Comment Size
..
serializer 1185.82.3 19 years ago John Arbash Meinel Working on creating a factor for serializing chang Diff
__init__.py 4547.2.1 15 years ago Andrew Bennetts Trivial fix for undefined local 'url' in TooManyRe 3.7 KB Diff Download File
apply_bundle.py 4721.3.2 15 years ago Vincent Ladeuil Simplify mutable_tree.has_changes() and update cal 2.9 KB Diff Download File
bundle_data.py 4325.3.4 15 years ago Johan Walles Merge from upstream. 28.6 KB Diff Download File
commands.py 4183.7.1 15 years ago Sabin Iacob update FSF mailing address 3.8 KB Diff Download File