~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/controldir.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2011-02-25 02:01:51 UTC
  • mfrom: (5676.1.10 per_interrepo-extra)
  • Revision ID: pqm@pqm.ubuntu.com-20110225020151-tlqdjbxfv5byh7l7
(jelmer) Allow repositories to provide extra combinations to run
 bzrlib.tests.per_interrepo with. (Jelmer Vernooij)

Show diffs side-by-side

added added

removed removed

Lines of Context:
691
691
            result.append(fmt)
692
692
        return result + self._get_extra()
693
693
 
 
694
    def _get_all_modules(self):
 
695
        """Return a set of the modules providing objects."""
 
696
        modules = set()
 
697
        for name in self.keys():
 
698
            modules.add(self._get_module(name))
 
699
        for getter in self._extra_formats:
 
700
            modules.add(getter.get_module())
 
701
        return modules
 
702
 
694
703
 
695
704
class ControlDirFormat(object):
696
705
    """An encapsulation of the initialization and open routines for a format.