Mercurial > hg
comparison hgext/phabricator.py @ 42258:231334c1ee96
phabricator: include branch in the phabread output
Depends on D6301
Differential Revision: https://phab.mercurial-scm.org/D6302
author | Ian Moody <moz-ian@perix.co.uk> |
---|---|
date | Mon, 22 Apr 2019 18:55:27 +0100 |
parents | a4f7dceb07bf |
children | af13e2088f77 |
comparison
equal
deleted
inserted
replaced
42257:a4f7dceb07bf | 42258:231334c1ee96 |
---|---|
634 unfi.setparents(mapping[wnode][0]) | 634 unfi.setparents(mapping[wnode][0]) |
635 | 635 |
636 # Map from "hg:meta" keys to header understood by "hg import". The order is | 636 # Map from "hg:meta" keys to header understood by "hg import". The order is |
637 # consistent with "hg export" output. | 637 # consistent with "hg export" output. |
638 _metanamemap = util.sortdict([(b'user', b'User'), (b'date', b'Date'), | 638 _metanamemap = util.sortdict([(b'user', b'User'), (b'date', b'Date'), |
639 (b'node', b'Node ID'), (b'parent', b'Parent ')]) | 639 (b'branch', b'Branch'), (b'node', b'Node ID'), |
640 (b'parent', b'Parent ')]) | |
640 | 641 |
641 def _confirmbeforesend(repo, revs, oldmap): | 642 def _confirmbeforesend(repo, revs, oldmap): |
642 url, token = readurltoken(repo) | 643 url, token = readurltoken(repo) |
643 ui = repo.ui | 644 ui = repo.ui |
644 for rev in revs: | 645 for rev in revs: |