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

  • Committer: Jelmer Vernooij
  • Date: 2019-04-27 16:03:23 UTC
  • mto: This revision was merged to the branch mainline in revision 7316.
  • Revision ID: jelmer@jelmer.uk-20190427160323-vq0spmylgwe321wt
Add feature flag for commit message.

Show diffs side-by-side

added added

removed removed

Lines of Context:
145
145
        self._mr.description = description
146
146
        self._mr.save()
147
147
 
 
148
    def get_commit_message(self):
 
149
        return None
 
150
 
148
151
    def _branch_url_from_project(self, project_id, branch_name):
149
152
        project = self._mr.manager.gitlab.projects.get(project_id)
150
153
        return gitlab_url_to_bzr_url(project.http_url_to_repo, branch_name)
176
179
    """GitLab hoster implementation."""
177
180
 
178
181
    supports_merge_proposal_labels = True
 
182
    supports_merge_proposal_commit_message = False
179
183
 
180
184
    def __repr__(self):
181
185
        return "<GitLab(%r)>" % self.gl.url