Mercurial > hg
diff tests/test-show.t @ 34190:4441c1113eb2
show: pass the minimum length for nodes as a template keyword
This will allow us to make the displayed length configurable
and/or dynamic.
Differential Revision: https://phab.mercurial-scm.org/D556
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Thu, 03 Aug 2017 21:51:34 -0700 |
parents | c5a07a3abe7d |
children | e6b5e7329ff2 |
line wrap: on
line diff
--- a/tests/test-show.t Thu Aug 03 21:13:27 2017 -0700 +++ b/tests/test-show.t Thu Aug 03 21:51:34 2017 -0700 @@ -112,13 +112,15 @@ "active": true, "bookmark": "a-longer-bookmark", "longestbookmarklen": 17, - "node": "7b5709ab64cbc34da9b4367b64afff47f2c4ee83" + "node": "7b5709ab64cbc34da9b4367b64afff47f2c4ee83", + "nodelen": 5 }, { "active": false, "bookmark": "book1", "longestbookmarklen": 17, - "node": "b757f780b8ffd71267c6ccb32e0882d9d32a8cc0" + "node": "b757f780b8ffd71267c6ccb32e0882d9d32a8cc0", + "nodelen": 5 } ]