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

  • Committer: Robert Collins
  • Date: 2007-09-11 00:29:17 UTC
  • mto: This revision was merged to the branch mainline in revision 2812.
  • Revision ID: robertc@robertcollins.net-20070911002917-53h2vb7ex4xh00u7
Add comment for igc.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2297
2297
    def _add_text_to_weave(self, file_id, new_lines, parents):
2298
2298
        versionedfile = self.repository.weave_store.get_weave_or_empty(
2299
2299
            file_id, self.repository.get_transaction())
 
2300
        # Don't change this to add_lines - add_lines_with_ghosts is cheaper
 
2301
        # than add_lines, and allows committing when a parent is ghosted for
 
2302
        # some reason.
2300
2303
        result = versionedfile.add_lines_with_ghosts(
2301
2304
            self._new_revision_id, parents, new_lines)[0:2]
2302
2305
        versionedfile.clear_cache()