diff 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
line wrap: on
line diff
--- a/tests/test-phabricator.t	Sat Sep 15 01:13:37 2018 -0400
+++ b/tests/test-phabricator.t	Sat Sep 15 01:16:31 2018 -0400
@@ -70,10 +70,8 @@
   1 {"id": "D4597", "url": "https://phab.mercurial-scm.org/D4597"}
   0 {"id": "D4596", "url": "https://phab.mercurial-scm.org/D4596"}
 
-BUG: this should work, but doesn't.
-  $ hg log -T'{rev} {phabreview.url}\n'
-  hg: parse error: {* 'D4597'*} is not a dictionary (glob)
-  (keyword 'phabreview' does not support member operation)
-  [255]
+  $ hg log -T'{rev} {phabreview.url} {phabreview.id}\n'
+  1 https://phab.mercurial-scm.org/D4597 D4597
+  0 https://phab.mercurial-scm.org/D4596 D4596
 
   $ cd ..