D6302: phabricator: include branch in the phabread output
Kwan (Ian Moody)
phabricator at mercurial-scm.org
Mon Apr 22 13:57:48 EDT 2019
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
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