/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/api-versioning.txt

Add tests, introduce explicit default values, always respect COLUMNS.

* bzrlib/tests/test_osutils.py:
(TestTerminalWidth): Test the known cases.

* bzrlib/osutils.py:
(terminal_width): Add default values and always respect the
COLUMNS envrionment variable. Catch TIOCGWINSZ related errors more
broadly.

Show diffs side-by-side

added added

removed removed

Lines of Context:
86
86
with ``(0, 18, 0)``.
87
87
 
88
88
+------------+---------------+
89
 
| API        | Covers        |
90
 
+============+===============+
 
89
| API        | Covers        | 
 
90
+============+===============+ 
91
91
| bzrlib     | All of bzrlib |
92
92
+------------+---------------+
93
93