D4603: phabricator: add tests of templatekeyword

durin42 (Augie Fackler) phabricator at mercurial-scm.org
Sat Sep 15 03:31:54 EDT 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rHG10c53b2e9d52: phabricator: add tests of templatekeyword (authored by durin42, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D4603?vs=11084&id=11092

REVISION DETAIL
  https://phab.mercurial-scm.org/D4603

AFFECTED FILES
  tests/test-phabricator.t

CHANGE DETAILS

diff --git a/tests/test-phabricator.t b/tests/test-phabricator.t
--- a/tests/test-phabricator.t
+++ b/tests/test-phabricator.t
@@ -64,4 +64,16 @@
   D4596 - updated - f70265671c65: create alpha for phabricator test
   D4597 - created - 1a5640df7bbf: create beta for phabricator test
   saved backup bundle to $TESTTMP/repo/.hg/strip-backup/1a5640df7bbf-6daf3e6e-phabsend.hg
+
+Template keywords
+  $ hg log -T'{rev} {phabreview|json}\n'
+  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]
+
   $ cd ..



To: durin42, #hg-reviewers
Cc: mercurial-devel


More information about the Mercurial-devel mailing list