~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: 2011-05-02 21:13:54 UTC
  • mfrom: (5815.1.1 rm-get-vf-store)
  • Revision ID: pqm@pqm.ubuntu.com-20110502211354-cbni6j20jyhhmvfw
(jelmer) Remove unused RepositoryFormat._get_versioned_file_store. (Jelmer
 Vernooij)

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