~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/repository.py

  • Committer: John Arbash Meinel
  • Date: 2011-05-06 15:15:44 UTC
  • mfrom: (5835 +trunk)
  • mto: This revision was merged to the branch mainline in revision 5836.
  • Revision ID: john@arbash-meinel.com-20110506151544-atzxeezfwssnlacr
Merge bzr.dev 5835 in prep for release-notes updates

Show diffs side-by-side

added added

removed removed

Lines of Context:
3106
3106
        """Return the short description for this format."""
3107
3107
        raise NotImplementedError(self.get_format_description)
3108
3108
 
3109
 
    # TODO: this shouldn't be in the base class, it's specific to things that
3110
 
    # use weaves or knits -- mbp 20070207
3111
 
    def _get_versioned_file_store(self,
3112
 
                                  name,
3113
 
                                  transport,
3114
 
                                  control_files,
3115
 
                                  prefixed=True,
3116
 
                                  versionedfile_class=None,
3117
 
                                  versionedfile_kwargs={},
3118
 
                                  escaped=False):
3119
 
        if versionedfile_class is None:
3120
 
            versionedfile_class = self._versionedfile_class
3121
 
        weave_transport = control_files._transport.clone(name)
3122
 
        dir_mode = control_files._dir_mode
3123
 
        file_mode = control_files._file_mode
3124
 
        return VersionedFileStore(weave_transport, prefixed=prefixed,
3125
 
                                  dir_mode=dir_mode,
3126
 
                                  file_mode=file_mode,
3127
 
                                  versionedfile_class=versionedfile_class,
3128
 
                                  versionedfile_kwargs=versionedfile_kwargs,
3129
 
                                  escaped=escaped)
3130
 
 
3131
3109
    def initialize(self, a_bzrdir, shared=False):
3132
3110
        """Initialize a repository of this format in a_bzrdir.
3133
3111