/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to doc/developers/overview.txt

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.

Show diffs side-by-side

added added

removed removed

Lines of Context:
12
12
document, send a merge request or new text to the mailing list.
13
13
 
14
14
The current version of this document is available in the file
15
 
``doc/developers/overview.txt`` in the source tree, and available online
 
15
``doc/developers/overview.txt`` in the source tree, and available online 
16
16
within the developer documentation, <http://doc.bazaar-vcs.org/developers/>.
17
17
 
18
18
 
101
101
store a full text of the inventory, and of every new file text.
102
102
 
103
103
At runtime, repository stacking is actually configured by the branch, not
104
 
the repository.  So doing ``a_bzrdir.open_repository()``
105
 
gets you just the single physical repository, while
106
 
``a_bzrdir.open_branch().repository`` gets one configured with a stacking.
 
104
the repository.  So doing ``a_bzrdir.open_repository()`` 
 
105
gets you just the single physical repository, while 
 
106
``a_bzrdir.open_branch().repository`` gets one configured with a stacking. 
107
107
Therefore, to permanently change the fallback repository stored on disk,
108
 
you must use ``Branch.set_stacked_on_url``.
 
108
you must use ``Branch.set_stacked_on_url``.  
109
109
 
110
110
Changing away from an existing stacked-on URL will copy across any
111
111
necessary history so that the repository remains usable.