Merge lp:~jelmer/brz/github-title-not-commit-message into lp:brz

Proposed by Jelmer Vernooij
Status: Merged
Approved by: Jelmer Vernooij
Approved revision: no longer in the source branch.
Merge reported by: The Breezy Bot
Merged at revision: not available
Proposed branch: lp:~jelmer/brz/github-title-not-commit-message
Merge into: lp:brz
Diff against target: 12 lines (+1/-1)
1 file modified
breezy/plugins/propose/github.py (+1/-1)
To merge this branch: bzr merge lp:~jelmer/brz/github-title-not-commit-message
Reviewer Review Type Date Requested Status
Jelmer Vernooij Approve
Review via email: mp+377480@code.launchpad.net

Commit message

Don't attempt to set the title when updating the commit message in GitHub.

Description of the change

Don't attempt to set the title when updating the commit message in GitHub.

To post a comment you must log in.
Revision history for this message
Jelmer Vernooij (jelmer) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'breezy/plugins/propose/github.py'
2--- breezy/plugins/propose/github.py 2020-01-12 13:56:10 +0000
3+++ breezy/plugins/propose/github.py 2020-01-12 18:56:11 +0000
4@@ -154,7 +154,7 @@
5 return None
6
7 def set_commit_message(self, message):
8- self._patch({'title': message})
9+ raise errors.UnsupportedOperation(self.set_commit_message, self)
10
11 def _patch(self, data):
12 response = self._gh._api_request(

Subscribers

People subscribed via source and target branches