Mercurial > public > mercurial-scm > hg-stable
diff tests/test-fastannotate-hg.t @ 39814:ddca38941b2b
annotate: pass in wdir rev and node to formatter (BC)
This is a part of the unification series. The 'ff..' hash is preferred over
None as it is a valid revision specifier.
https://www.mercurial-scm.org/wiki/GenericTemplatingPlan#Sanity_check_output
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Sat, 15 Sep 2018 17:26:23 +0900 |
parents | 4babb55e4503 |
children | 47cb6750dea3 |
line wrap: on
line diff
--- a/tests/test-fastannotate-hg.t Sat Sep 15 17:26:22 2018 +0900 +++ b/tests/test-fastannotate-hg.t Sat Sep 15 17:26:23 2018 +0900 @@ -569,7 +569,7 @@ $ hg annotate -ncr "wdir()" -Tjson foo [ { - "lines": [{"line": "foo\n", "node": "472b18db256d1e8282064eab4bfdaf48cbfe83cd", "rev": 11}, {"line": "foofoo\n", "node": null, "rev": null}], + "lines": [{"line": "foo\n", "node": "472b18db256d1e8282064eab4bfdaf48cbfe83cd", "rev": 11}, {"line": "foofoo\n", "node": "ffffffffffffffffffffffffffffffffffffffff", "rev": 2147483647}], "path": "foo" } ]