~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/vf_repository.py

  • Committer: Patch Queue Manager
  • Date: 2011-09-08 11:01:15 UTC
  • mfrom: (6123.1.16 gpg-typo)
  • Revision ID: pqm@cupuasso-20110908110115-gbb9benwkdksvzk5
(jelmer) Fix a typo (invalid format identifier) in an error message in
 bzrlib.gpg. (Jelmer Vernooij)

Show diffs side-by-side

added added

removed removed

Lines of Context:
918
918
        """
919
919
        if not self._format.supports_external_lookups:
920
920
            raise errors.UnstackableRepositoryFormat(self._format, self.base)
 
921
        # This can raise an exception, so should be done before we lock the
 
922
        # fallback repository.
 
923
        self._check_fallback_repository(repository)
921
924
        if self.is_locked():
922
925
            # This repository will call fallback.unlock() when we transition to
923
926
            # the unlocked state, so we make sure to increment the lock count
924
927
            repository.lock_read()
925
 
        self._check_fallback_repository(repository)
926
928
        self._fallback_repositories.append(repository)
927
929
        self.texts.add_fallback_versioned_files(repository.texts)
928
930
        self.inventories.add_fallback_versioned_files(repository.inventories)