~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/repofmt/knitrepo.py

  • Committer: Aaron Bentley
  • Date: 2008-04-24 04:58:42 UTC
  • mfrom: (3377 +trunk)
  • mto: This revision was merged to the branch mainline in revision 3380.
  • Revision ID: aaron@aaronbentley.com-20080424045842-0cajl9v6s4u52kaw
Merge bzr.dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
101
101
        self._commit_builder_class = _commit_builder_class
102
102
        self._serializer = _serializer
103
103
        self._reconcile_fixes_text_parents = True
 
104
        control_store.get_scope = self.get_transaction
 
105
        text_store.get_scope = self.get_transaction
 
106
        _revision_store.get_scope = self.get_transaction
104
107
 
105
108
    def _warn_if_deprecated(self):
106
109
        # This class isn't deprecated
358
361
            repo_transport,
359
362
            prefixed=False,
360
363
            file_mode=control_files._file_mode,
361
 
            versionedfile_class=knit.KnitVersionedFile,
 
364
            versionedfile_class=knit.make_file_knit,
362
365
            versionedfile_kwargs={'factory':knit.KnitPlainFactory()},
363
366
            )
364
367
 
369
372
            file_mode=control_files._file_mode,
370
373
            prefixed=False,
371
374
            precious=True,
372
 
            versionedfile_class=knit.KnitVersionedFile,
 
375
            versionedfile_class=knit.make_file_knit,
373
376
            versionedfile_kwargs={'delta':False,
374
377
                                  'factory':knit.KnitPlainFactory(),
375
378
                                 },
382
385
        return self._get_versioned_file_store('knits',
383
386
                                  transport,
384
387
                                  control_files,
385
 
                                  versionedfile_class=knit.KnitVersionedFile,
 
388
                                  versionedfile_class=knit.make_file_knit,
386
389
                                  versionedfile_kwargs={
387
390
                                      'create_parent_dir':True,
388
391
                                      'delay_create':True,