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
=== modified file 'breezy/plugins/propose/github.py'
--- breezy/plugins/propose/github.py 2020-01-12 13:56:10 +0000
+++ breezy/plugins/propose/github.py 2020-01-12 18:56:11 +0000
@@ -154,7 +154,7 @@
154 return None154 return None
155155
156 def set_commit_message(self, message):156 def set_commit_message(self, message):
157 self._patch({'title': message})157 raise errors.UnsupportedOperation(self.set_commit_message, self)
158158
159 def _patch(self, data):159 def _patch(self, data):
160 response = self._gh._api_request(160 response = self._gh._api_request(

Subscribers

People subscribed via source and target branches