~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/ui/__init__.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2010-06-28 04:42:07 UTC
  • mfrom: (5320.2.8 globalzapping)
  • Revision ID: pqm@pqm.ubuntu.com-20100628044207-67md0bfc3ojod6of
(lifeless) Make the trace module managed more cleanly by BzrLibraryState.
 (Robert Collins)

Show diffs side-by-side

added added

removed removed

Lines of Context:
192
192
            encoding = config.GlobalConfig().get_user_option(
193
193
                'output_encoding')
194
194
        if encoding is None:
195
 
            encoding = osutils.get_terminal_encoding()
 
195
            encoding = osutils.get_terminal_encoding(trace=True)
196
196
        if encoding_type is None:
197
197
            encoding_type = 'replace'
198
198
        out_stream = self._make_output_stream_explicit(encoding, encoding_type)