/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/plugins/propose/propose.py

  • Committer: Jelmer Vernooij
  • Date: 2019-06-16 02:23:42 UTC
  • mfrom: (7340 work)
  • mto: This revision was merged to the branch mainline in revision 7350.
  • Revision ID: jelmer@jelmer.uk-20190616022342-ihxzayq04x5culzd
merge trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
255
255
    def probe_from_branch(cls, branch):
256
256
        """Create a Hoster object if this hoster knows about a branch."""
257
257
        url = urlutils.split_segment_parameters(branch.user_url)[0]
258
 
        return cls.probe_from_url(url)
 
258
        return cls.probe_from_url(
 
259
            url, possible_transports=[branch.control_transport])
259
260
 
260
261
    @classmethod
261
 
    def probe_from_url(cls, url):
 
262
    def probe_from_url(cls, url, possible_hosters=None):
262
263
        """Create a Hoster object if this hoster knows about a URL."""
263
264
        raise NotImplementedError(cls.probe_from_url)
264
265