Mercurial > hg
diff tests/test-template-functions.t @ 38856:a01200b25da6
shortest: use 'x' prefix to disambiguate from revnum if configured
Differential Revision: https://phab.mercurial-scm.org/D4042
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Mon, 16 Apr 2018 23:49:38 -0700 |
parents | bc8d925342f0 |
children | 83f8f7b9fa60 |
line wrap: on
line diff
--- a/tests/test-template-functions.t Sun Apr 29 10:07:40 2018 -0700 +++ b/tests/test-template-functions.t Mon Apr 16 23:49:38 2018 -0700 @@ -892,6 +892,11 @@ $ hg log -r 4 -T '{rev}:{shortest(node, 0)}\n' --hidden 4:107 + $ hg --config experimental.revisions.prefixhexnode=yes log -r 4 -T '{rev}:{shortest(node, 0)}\n' + 4:x10 + $ hg --config experimental.revisions.prefixhexnode=yes log -r 4 -T '{rev}:{shortest(node, 0)}\n' --hidden + 4:x10 + node 'c562' should be unique if the other 'c562' nodes are hidden (but we don't try the slow path to filter out hidden nodes for now)