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

  • Committer: Martin Pool
  • Date: 2006-04-20 02:42:17 UTC
  • mfrom: (1674 +trunk)
  • mto: This revision was merged to the branch mainline in revision 1675.
  • Revision ID: mbp@sourcefrog.net-20060420024217-e7530e10e384d5dd
[merge] bzr.dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
414
414
 
415
415
    def _escape_commit_message(self):
416
416
        """Replace xml-incompatible control characters."""
 
417
        # FIXME: RBC 20060419 this should be done by the revision
 
418
        # serialiser not by commit. Then we can also add an unescaper
 
419
        # in the deserializer and start roundtripping revision messages
 
420
        # precisely. See repository_implementations/test_repository.py
 
421
        
417
422
        # Python strings can include characters that can't be
418
423
        # represented in well-formed XML; escape characters that
419
424
        # aren't listed in the XML specification