Mercurial > hg
comparison tests/test-phabricator.t @ 39654:4057e38bba76
phabricator: fix templating bug by using hybriddict
Differential Revision: https://phab.mercurial-scm.org/D4604
author | Augie Fackler <raf@durin42.com> |
---|---|
date | Sat, 15 Sep 2018 01:16:31 -0400 |
parents | 10c53b2e9d52 |
children | d7d3164e6a31 |
comparison
equal
deleted
inserted
replaced
39653:10c53b2e9d52 | 39654:4057e38bba76 |
---|---|
68 Template keywords | 68 Template keywords |
69 $ hg log -T'{rev} {phabreview|json}\n' | 69 $ hg log -T'{rev} {phabreview|json}\n' |
70 1 {"id": "D4597", "url": "https://phab.mercurial-scm.org/D4597"} | 70 1 {"id": "D4597", "url": "https://phab.mercurial-scm.org/D4597"} |
71 0 {"id": "D4596", "url": "https://phab.mercurial-scm.org/D4596"} | 71 0 {"id": "D4596", "url": "https://phab.mercurial-scm.org/D4596"} |
72 | 72 |
73 BUG: this should work, but doesn't. | 73 $ hg log -T'{rev} {phabreview.url} {phabreview.id}\n' |
74 $ hg log -T'{rev} {phabreview.url}\n' | 74 1 https://phab.mercurial-scm.org/D4597 D4597 |
75 hg: parse error: {* 'D4597'*} is not a dictionary (glob) | 75 0 https://phab.mercurial-scm.org/D4596 D4596 |
76 (keyword 'phabreview' does not support member operation) | |
77 [255] | |
78 | 76 |
79 $ cd .. | 77 $ cd .. |