Patchwork D6302: phabricator: include branch in the phabread output

login
register
mail settings
Submitter phabricator
Date April 22, 2019, 5:57 p.m.
Message ID <41950da7cd6ac273e5fe04356f1241e2@localhost.localdomain>
Download mbox | patch
Permalink /patch/39800/
State Not Applicable
Headers show

Comments

phabricator - April 22, 2019, 5:57 p.m.
Kwan updated this revision to Diff 14895.
Kwan edited the summary of this revision.

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D6302?vs=14891&id=14895

BRANCH
  diffmeta (bookmark) on default (branch)

REVISION DETAIL
  https://phab.mercurial-scm.org/D6302

AFFECTED FILES
  hgext/phabricator.py

CHANGE DETAILS




To: Kwan, #hg-reviewers
Cc: mercurial-devel

Patch

diff --git a/hgext/phabricator.py b/hgext/phabricator.py
--- a/hgext/phabricator.py
+++ b/hgext/phabricator.py
@@ -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)