diff options
author | Daniel Stone <daniels@collabora.com> | 2017-03-16 12:37:01 +0000 |
---|---|---|
committer | Daniel Stone <daniels@collabora.com> | 2017-03-16 12:54:19 +0000 |
commit | 7575cd81ef1712ae39030282773c7c1facab6282 (patch) | |
tree | 1206699d28bb96950797c2c9c56044b9fb78fea6 | |
parent | 154fa6c20ca651b9697e303183cd3964774ffaf9 (diff) |
Explicitly set revision title when creating
When creating a revision through the Conduit API, newer versions of
Phabricator require we explicitly set the title in the field, rather
than pulling it back from the commit message parsing.
Signed-off-by: Daniel Stone <daniels@collabora.com>
Differential Revision: https://phabricator.freedesktop.org/D1694
-rwxr-xr-x | git-phab | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1105,6 +1105,7 @@ Paste API Token from that page and press <enter>: """ % self.phabricator_uri) corpus=arc_message) fields = parsed_message["fields"] + fields["title"] = subject if not revision_id: revision = phab.differential.createrevision(fields=fields, diffid=diff.diffid) |