/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 breezy/bzr/remote.py

  • Committer: Jelmer Vernooij
  • Date: 2020-01-31 10:39:02 UTC
  • mfrom: (7290.42.5 work)
  • mto: This revision was merged to the branch mainline in revision 7476.
  • Revision ID: jelmer@jelmer.uk-20200131103902-9olnj3u03nbh0bmv
Merge 3.0.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2002
2002
    def _add_revision(self, rev):
2003
2003
        if self._real_repository is not None:
2004
2004
            return self._real_repository._add_revision(rev)
2005
 
        text = self._serializer.write_revision_to_string(rev)
 
2005
        lines = self._serializer.write_revision_to_lines(rev)
2006
2006
        key = (rev.revision_id,)
2007
2007
        parents = tuple((parent,) for parent in rev.parent_ids)
2008
2008
        self._write_group_tokens, missing_keys = self._get_sink().insert_stream(
2009
 
            [('revisions', [FulltextContentFactory(key, parents, None, text)])],
 
2009
            [('revisions', [ChunkedContentFactory(key, parents, None, lines, chunks_are_lines=True)])],
2010
2010
            self._format, self._write_group_tokens)
2011
2011
 
2012
2012
    def get_inventory(self, revision_id):