~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/commit.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2006-04-20 02:28:21 UTC
  • mfrom: (1666.1.10 integration)
  • Revision ID: pqm@pqm.ubuntu.com-20060420022821-4337b8fa4942d8fe
Make knits the default format.

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