/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to breezy/tests/__init__.py

  • Committer: Jelmer Vernooij
  • Date: 2017-06-10 00:52:37 UTC
  • mto: (6670.4.8 move-bzr)
  • mto: This revision was merged to the branch mainline in revision 6681.
  • Revision ID: jelmer@jelmer.uk-20170610005237-59jdqykbfjo1p37t
Rename make_bzrdir to make_controldir.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2661
2661
        if format is None:
2662
2662
            format = self.get_default_format()
2663
2663
        if isinstance(format, basestring):
2664
 
            format = controldir.format_registry.make_bzrdir(format)
 
2664
            format = controldir.format_registry.make_controldir(format)
2665
2665
        return format
2666
2666
 
2667
 
    def make_bzrdir(self, relpath, format=None):
 
2667
    def make_controldir(self, relpath, format=None):
2668
2668
        try:
2669
2669
            # might be a relative or absolute path
2670
2670
            maybe_a_url = self.get_url(relpath)
2686
2686
        # real format, which is incorrect.  Actually we should make sure that
2687
2687
        # RemoteBzrDir returns a RemoteRepository.
2688
2688
        # maybe  mbp 20070410
2689
 
        made_control = self.make_bzrdir(relpath, format=format)
 
2689
        made_control = self.make_controldir(relpath, format=format)
2690
2690
        return made_control.create_repository(shared=shared)
2691
2691
 
2692
2692
    def make_smart_server(self, path, backing_server=None):