~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/repository.py

  • Committer: Ian Clatworthy
  • Date: 2009-04-03 00:07:49 UTC
  • mfrom: (4241 +trunk)
  • mto: (4265.1.1 bbc-merge)
  • mto: This revision was merged to the branch mainline in revision 4280.
  • Revision ID: ian.clatworthy@canonical.com-20090403000749-sevl9klctwfi8jml
merge bzr.dev r4241

Show diffs side-by-side

added added

removed removed

Lines of Context:
1677
1677
        # TODO: jam 20070210 This shouldn't be necessary since get_revision
1678
1678
        #       would have already do it.
1679
1679
        # TODO: jam 20070210 Just use _serializer.write_revision_to_string()
 
1680
        # TODO: this can't just be replaced by:
 
1681
        # return self._serializer.write_revision_to_string(
 
1682
        #     self.get_revision(revision_id))
 
1683
        # as cStringIO preservers the encoding unlike write_revision_to_string
 
1684
        # or some other call down the path.
1680
1685
        rev = self.get_revision(revision_id)
1681
1686
        rev_tmp = cStringIO.StringIO()
1682
1687
        # the current serializer..