phabricator: include branch in the phabread output
Depends on D6301
Differential Revision: https://phab.mercurial-scm.org/D6302
--- 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)