/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/repofmt/weaverepo.py

  • Committer: Martin Pool
  • Date: 2007-10-08 07:29:57 UTC
  • mfrom: (2894 +trunk)
  • mto: This revision was merged to the branch mainline in revision 2895.
  • Revision ID: mbp@sourcefrog.net-20071008072957-uhm1gl1mqcsdc377
merge trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
594
594
class WeaveCommitBuilder(CommitBuilder):
595
595
    """A builder for weave based repos that don't support ghosts."""
596
596
 
597
 
    def _add_text_to_weave(self, file_id, new_lines, parents):
 
597
    def _add_text_to_weave(self, file_id, new_lines, parents, nostore_sha):
598
598
        versionedfile = self.repository.weave_store.get_weave_or_empty(
599
599
            file_id, self.repository.get_transaction())
600
600
        result = versionedfile.add_lines(
601
 
            self._new_revision_id, parents, new_lines)[0:2]
 
601
            self._new_revision_id, parents, new_lines,
 
602
            nostore_sha=nostore_sha)[0:2]
602
603
        versionedfile.clear_cache()
603
604
        return result
604
605