Patchwork D6302: phabricator: include branch in the phabread output

login
register
mail settings
Submitter phabricator
Date May 6, 2019, 4:22 p.m.
Message ID <1160fa13f17722a1e81f78170238735c@localhost.localdomain>
Download mbox | patch
Permalink /patch/39972/
State Not Applicable
Headers show

Comments

phabricator - May 6, 2019, 4:22 p.m.
This revision was automatically updated to reflect the committed changes.
Closed by commit rHG231334c1ee96: phabricator: include branch in the phabread output (authored by Kwan, committed by ).

REPOSITORY
  rHG Mercurial

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

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

AFFECTED FILES
  hgext/phabricator.py

CHANGE DETAILS




To: Kwan, #hg-reviewers
Cc: martinvonz, 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)