/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 github.py

  • Committer: Jelmer Vernooij
  • Date: 2018-09-09 15:56:12 UTC
  • mto: (0.431.8 trunk)
  • mto: This revision was merged to the branch mainline in revision 7233.
  • Revision ID: jelmer@jelmer.uk-20180909155612-xuh0eqx3xzrjs34e
Publish command sort of works.

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
from .propose import (
20
20
    Hoster,
21
21
    MergeProposal,
22
 
    MergeProposer,
 
22
    MergeProposalBuilder,
23
23
    MergeProposalExists,
24
24
    )
25
25
 
76
76
        raise NotImplementedError(self.publish)
77
77
 
78
78
    def get_proposer(self, source_branch, target_branch):
79
 
        return GitHubMergeProposer(source_branch, target_branch)
 
79
        return GitHubMergeProposalBuilder(source_branch, target_branch)
80
80
 
81
81
    @classmethod
82
82
    def is_compatible(cls, branch):
88
88
            return True
89
89
 
90
90
 
91
 
class GitHubMergeProposer(MergeProposer):
 
91
class GitHubMergeProposalBuilder(MergeProposalBuilder):
92
92
 
93
93
    def __init__(self, source_branch, target_branch):
94
94
        self.source_branch = source_branch