Mercurial > hg
diff tests/test-phases-exchange.t @ 15823:a1f818a2b50d
phases: ``{phase}`` template keyword display the phase name
``{phaseidx}`` is providing the phase index as integer. This integer
representation is useful when people need to use the fact that phase are
ordered.
Test keep using the number version for readability purpose.
author | Pierre-Yves David <pierre-yves.david@ens-lyon.org> |
---|---|
date | Fri, 06 Jan 2012 11:20:49 +0100 |
parents | 60344b83e442 |
children | 94a4748db392 |
line wrap: on
line diff
--- a/tests/test-phases-exchange.t Thu Dec 29 04:40:09 2011 +0100 +++ b/tests/test-phases-exchange.t Fri Jan 06 11:20:49 2012 +0100 @@ -2,7 +2,7 @@ > [extensions] > graphlog= > EOF - $ alias hgph='hg log --template "{rev} {phase} {desc} - {node|short}\n"' + $ alias hgph='hg log --template "{rev} {phaseidx} {desc} - {node|short}\n"' $ mkcommit() { > echo "$1" > "$1"