changeset 42258:231334c1ee96

phabricator: include branch in the phabread output Depends on D6301 Differential Revision: https://phab.mercurial-scm.org/D6302
author Ian Moody <moz-ian@perix.co.uk>
date Mon, 22 Apr 2019 18:55:27 +0100
parents a4f7dceb07bf
children d1c7446d0c58
files hgext/phabricator.py
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/hgext/phabricator.py	Mon Apr 22 18:55:26 2019 +0100
+++ b/hgext/phabricator.py	Mon Apr 22 18:55:27 2019 +0100
@@ -636,7 +636,8 @@
 # Map from "hg:meta" keys to header understood by "hg import". The order is
 # consistent with "hg export" output.
 _metanamemap = util.sortdict([(b'user', b'User'), (b'date', b'Date'),
-                              (b'node', b'Node ID'), (b'parent', b'Parent ')])
+                              (b'branch', b'Branch'), (b'node', b'Node ID'),
+                              (b'parent', b'Parent ')])
 
 def _confirmbeforesend(repo, revs, oldmap):
     url, token = readurltoken(repo)