/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 setup.py

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:
1
 
#!/usr/bin/env python
2
 
 
3
 
from info import *
4
 
 
5
 
if __name__ == '__main__':
6
 
    from distutils.core import setup
7
 
    version = bzr_plugin_version[:3]
8
 
    version_string = ".".join([str(x) for x in version])
9
 
 
10
 
    setup(name='bzr-git',
11
 
          description='Support for Git branches in Bazaar',
12
 
          keywords='plugin bzr git bazaar',
13
 
          version=version_string,
14
 
          url='http://bazaar-vcs.org/BzrForeignBranches/Git',
15
 
          license='GPL',
16
 
          maintainer='Jelmer Vernooij',
17
 
          maintainer_email='jelmer@samba.org',
18
 
          long_description="""
19
 
          This plugin adds limited support for checking out and viewing
20
 
          Git branches in Bazaar.
21
 
          """,
22
 
          package_dir={'bzrlib.plugins.git':'.'},
23
 
          packages=['bzrlib.plugins.git',
24
 
                    'bzrlib.plugins.git.tests'],
25
 
          scripts=['bzr-receive-pack', 'bzr-upload-pack'],
26
 
          )