change Node|short to rev number
bardy
bardiku at gmail.com
Mon Mar 9 04:34:47 CDT 2009
hello, I have a little question. I don't know if I can explain it
clearly, but I hope someone could help me .
in hgweb I don't like the Node|short hash id (like 62323d0e17df ),
can I change all the node|short into rev number (like 1. 2. 3)?
I tried to change all #Node|short# to #rev# in directory templates
it almost work, but in several pages I just can't get it done:
in graph.tmpl, it's _NODEID , not #Node|short# , how to get the rev
number in graph ?
and in map, these 3 items, navshortentry , filenaventry ,navgraphentry
, it seems that the #rev# or {rev} generate nothing but a blank space,
only {node|short} can work.
navshortentry
= '<a href="{url}shortlog/{node|short}{sessionvars%urlparameter}">label|escape}</a>
'
filenaventry
= '<a href="{url}log/{node|short}/{file|urlescape}{sessionvars%urlparameter}">label|escape}</a>
'
navgraphentry
= '<a href="{url}graph/{node|short}{sessionvars%urlparameter}">{label|escape}</a>
'
can I change all the node|short into rev number ?
More information about the Mercurial
mailing list