/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 bzrlib/win32utils.py

  • Committer: Adeodato Simó
  • Date: 2007-07-06 17:21:57 UTC
  • mto: (2593.2.1 ianc-integration)
  • mto: This revision was merged to the branch mainline in revision 2594.
  • Revision ID: dato@net.com.org.es-20070706172157-11w04axiv4mtrabm
Improve annotate to prevent unicode exceptions in certain situations.

The fixed bugs are:

  * when an annotation has the author part as unicode(), and line
    contents are 8-bit data, an UnicodeDecodeError is raised when
    formatting them together with '%s %s'

  * when the author part of an annotation contains characters not
    representable in the encoding of the user that runs annotate,
    an UnicodeEncodeError is raised

Show diffs side-by-side

added added

removed removed

Lines of Context: