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

  • Committer: Aaron Bentley
  • Date: 2009-05-20 10:41:50 UTC
  • mfrom: (4373 +trunk)
  • mto: This revision was merged to the branch mainline in revision 4374.
  • Revision ID: aaron@aaronbentley.com-20090520104150-d5s3mrl4uyc0udty
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