~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/repository.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2006-09-06 22:55:29 UTC
  • mfrom: (1946.2.16 reduce-knit-churn)
  • Revision ID: pqm@pqm.ubuntu.com-20060906225529-7b367edabbb1ffc2
(jam) delay creating knit contents for significantly better new commit and push performance

Show diffs side-by-side

added added

removed removed

Lines of Context:
1088
1088
                                  control_files,
1089
1089
                                  prefixed=True,
1090
1090
                                  versionedfile_class=WeaveFile,
 
1091
                                  versionedfile_kwargs={},
1091
1092
                                  escaped=False):
1092
1093
        weave_transport = control_files._transport.clone(name)
1093
1094
        dir_mode = control_files._dir_mode
1096
1097
                                  dir_mode=dir_mode,
1097
1098
                                  file_mode=file_mode,
1098
1099
                                  versionedfile_class=versionedfile_class,
 
1100
                                  versionedfile_kwargs=versionedfile_kwargs,
1099
1101
                                  escaped=escaped)
1100
1102
 
1101
1103
    def initialize(self, a_bzrdir, shared=False):
1490
1492
            prefixed=False,
1491
1493
            precious=True,
1492
1494
            versionedfile_class=KnitVersionedFile,
1493
 
            versionedfile_kwargs={'delta':False, 'factory':KnitPlainFactory()},
 
1495
            versionedfile_kwargs={'delta':False, 'factory':KnitPlainFactory(),},
1494
1496
            escaped=True,
1495
1497
            )
1496
1498
        return KnitRevisionStore(versioned_file_store)
1501
1503
                                              transport,
1502
1504
                                              control_files,
1503
1505
                                              versionedfile_class=KnitVersionedFile,
 
1506
                                              versionedfile_kwargs={
 
1507
                                                  'create_parent_dir':True,
 
1508
                                                  'delay_create':True,
 
1509
                                                  'dir_mode':control_files._dir_mode,
 
1510
                                              },
1504
1511
                                              escaped=True)
1505
1512
 
1506
1513
    def initialize(self, a_bzrdir, shared=False):