D6304: phabricator: include branch in the phabread output
Kwan (Ian Moody)
phabricator at mercurial-scm.org
Mon Apr 22 17:53:08 UTC 2019
Kwan created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.
REPOSITORY
rHG Mercurial
BRANCH
diffmeta (bookmark) on default (branch)
REVISION DETAIL
https://phab.mercurial-scm.org/D6304
AFFECTED FILES
hgext/phabricator.py
CHANGE DETAILS
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)
To: Kwan, #hg-reviewers
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list