~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/xml_serializer.py

Merge bzr.dev.

Show diffs side-by-side

added added

removed removed

Lines of Context:
172
172
    """Escape the XML-invalid characters in a commit message.
173
173
 
174
174
    :param message: Commit message to escape
175
 
    :param count: Number of characters that were escaped
 
175
    :return: tuple with escaped message and number of characters escaped
176
176
    """
177
177
    # Python strings can include characters that can't be
178
178
    # represented in well-formed XML; escape characters that