summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stone <daniels@collabora.com>2017-03-16 12:37:01 +0000
committerDaniel Stone <daniels@collabora.com>2017-03-16 12:54:19 +0000
commit7575cd81ef1712ae39030282773c7c1facab6282 (patch)
tree1206699d28bb96950797c2c9c56044b9fb78fea6
parent154fa6c20ca651b9697e303183cd3964774ffaf9 (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-xgit-phab1
1 files changed, 1 insertions, 0 deletions
diff --git a/git-phab b/git-phab
index d562066..0e38619 100755
--- a/git-phab
+++ b/git-phab
@@ -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)