tests/test-phabricator.t
changeset 41164 43fd1947301d
parent 41163 0101a35deae2
child 41897 c340a8ac7ef3
equal deleted inserted replaced
41163:0101a35deae2 41164:43fd1947301d
   104   }
   104   }
   105 
   105 
   106 Template keywords
   106 Template keywords
   107   $ hg log -T'{rev} {phabreview|json}\n'
   107   $ hg log -T'{rev} {phabreview|json}\n'
   108   3 {"id": "D5545", "url": "https://phab.mercurial-scm.org/D5545"}
   108   3 {"id": "D5545", "url": "https://phab.mercurial-scm.org/D5545"}
   109   2 null
   109   2 {"id": "D5544", "url": "https://phab.mercurial-scm.org/D5544"}
   110   1 {"id": "D4597", "url": "https://phab.mercurial-scm.org/D4597"}
   110   1 {"id": "D4597", "url": "https://phab.mercurial-scm.org/D4597"}
   111   0 {"id": "D4596", "url": "https://phab.mercurial-scm.org/D4596"}
   111   0 {"id": "D4596", "url": "https://phab.mercurial-scm.org/D4596"}
   112 
   112 
   113   $ hg log -T'{rev} {if(phabreview, "{phabreview.url} {phabreview.id}")}\n'
   113   $ hg log -T'{rev} {if(phabreview, "{phabreview.url} {phabreview.id}")}\n'
   114   3 https://phab.mercurial-scm.org/D5545 D5545
   114   3 https://phab.mercurial-scm.org/D5545 D5545
   115   2 
   115   2 https://phab.mercurial-scm.org/D5544 D5544
   116   1 https://phab.mercurial-scm.org/D4597 D4597
   116   1 https://phab.mercurial-scm.org/D4597 D4597
   117   0 https://phab.mercurial-scm.org/D4596 D4596
   117   0 https://phab.mercurial-scm.org/D4596 D4596
   118 
   118 
   119   $ cd ..
   119   $ cd ..