next change | 41:db33172bc2ab |
previous change | 36:82ab27e2178f |
Permissions: -rw-r--r--
1 | <html> |
<head> | |
<meta charset="utf-8"> | |
<title>hgperfcheck{% if changesets %} (rev {{ changesets[0]['rev'] }} and earlier){% end %}</title> | |
<style type="text/css"> | |
* { | |
font-family: monospace; | |
} | |
table { | |
border-spacing: 0; | |
} | |
tbody tr:hover { | |
background-color: silver; | |
} | |
td { | |
white-space: nowrap; | |
padding: 1px 5px; | |
} | |
td.hint { | |
width: 100%; | |
position: relative; | |
} | |
td.hint div { | |
position: absolute; | |
text-overflow: ellipsis; | |
overflow: hidden; | |
top: 1px; | |
left: 5px; | |
right: 5px; | |
} | |
</style> | |
</head> | |
<body> | |
20
20:2121bac8dcf0
viewer: move links to <header> and <footer> elements
Anton Shestakov <engored@ya.ru>
previous changes: 19:4a77e5b067b8
line |
diff
|
<header> |
36
36:82ab27e2178f
viewer: more margins for readability
Anton Shestakov <av6@dwimlabs.net>
previous changes: 31:edd83c4dc2f0
line |
diff
|
<p> |
36:82ab27e2178f
viewer: more margins for readability
Anton Shestakov <av6@dwimlabs.net>
previous changes: 31:edd83c4dc2f0
line |
diff
|
<a href="{{ setrev() }}">back to tip</a> |
36:82ab27e2178f
viewer: more margins for readability
Anton Shestakov <av6@dwimlabs.net>
previous changes: 31:edd83c4dc2f0
line |
diff
|
{% set prevrev = changesets[0]['rev'] + 120 if changesets else None %} |
36:82ab27e2178f
viewer: more margins for readability
Anton Shestakov <av6@dwimlabs.net>
previous changes: 31:edd83c4dc2f0
line |
diff
|
{% if prevrev %}<a href="{{ setrev(prevrev) }}">prev page</a>{% end %} |
36:82ab27e2178f
viewer: more margins for readability
Anton Shestakov <av6@dwimlabs.net>
previous changes: 31:edd83c4dc2f0
line |
diff
|
{% set nextrev = changesets[-1]['rev'] - 1 if changesets else None %} |
36:82ab27e2178f
viewer: more margins for readability
Anton Shestakov <av6@dwimlabs.net>
previous changes: 31:edd83c4dc2f0
line |
diff
|
{% if nextrev > -1 %}<a href="{{ setrev(nextrev) }}">next page</a>{% end %} |
36:82ab27e2178f
viewer: more margins for readability
Anton Shestakov <av6@dwimlabs.net>
previous changes: 31:edd83c4dc2f0
line |
diff
|
<span style="color: #777;"> |
36:82ab27e2178f
viewer: more margins for readability
Anton Shestakov <av6@dwimlabs.net>
previous changes: 31:edd83c4dc2f0
line |
diff
|
hover things for a tooltip; red means slow, green means fast; first |
36:82ab27e2178f
viewer: more margins for readability
Anton Shestakov <av6@dwimlabs.net>
previous changes: 31:edd83c4dc2f0
line |
diff
|
color and time means without .hg/cache, second means with .hg/cache. |
36:82ab27e2178f
viewer: more margins for readability
Anton Shestakov <av6@dwimlabs.net>
previous changes: 31:edd83c4dc2f0
line |
diff
|
</span> |
36:82ab27e2178f
viewer: more margins for readability
Anton Shestakov <av6@dwimlabs.net>
previous changes: 31:edd83c4dc2f0
line |
diff
|
</p> |
36:82ab27e2178f
viewer: more margins for readability
Anton Shestakov <av6@dwimlabs.net>
previous changes: 31:edd83c4dc2f0
line |
diff
|
<p> |
31
31:edd83c4dc2f0
viewer: marks selector
Anton Shestakov <engored@ya.ru>
previous changes: 30:ac681cc74573
line |
diff
|
{% if local %} |
31:edd83c4dc2f0
viewer: marks selector
Anton Shestakov <engored@ya.ru>
previous changes: 30:ac681cc74573
line |
diff
|
local colors (<a href="{{ setlocal(None) }}">switch to global colors</a>) |
31:edd83c4dc2f0
viewer: marks selector
Anton Shestakov <engored@ya.ru>
previous changes: 30:ac681cc74573
line |
diff
|
{% else %} |
31:edd83c4dc2f0
viewer: marks selector
Anton Shestakov <engored@ya.ru>
previous changes: 30:ac681cc74573
line |
diff
|
global colors (<a href="{{ setlocal(1) }}">switch to local colors</a>) |
31:edd83c4dc2f0
viewer: marks selector
Anton Shestakov <engored@ya.ru>
previous changes: 30:ac681cc74573
line |
diff
|
{% end %} |
36
36:82ab27e2178f
viewer: more margins for readability
Anton Shestakov <av6@dwimlabs.net>
previous changes: 31:edd83c4dc2f0
line |
diff
|
</p> |
36:82ab27e2178f
viewer: more margins for readability
Anton Shestakov <av6@dwimlabs.net>
previous changes: 31:edd83c4dc2f0
line |
diff
|
<p> |
31
31:edd83c4dc2f0
viewer: marks selector
Anton Shestakov <engored@ya.ru>
previous changes: 30:ac681cc74573
line |
diff
|
timings: |
31:edd83c4dc2f0
viewer: marks selector
Anton Shestakov <engored@ya.ru>
previous changes: 30:ac681cc74573
line |
diff
|
{% for mark, desc in marks.items() %} |
31:edd83c4dc2f0
viewer: marks selector
Anton Shestakov <engored@ya.ru>
previous changes: 30:ac681cc74573
line |
diff
|
-<a href="{{ setmarks(remove=mark) }}" title="{{ desc }}">{{ mark }}</a> |
31:edd83c4dc2f0
viewer: marks selector
Anton Shestakov <engored@ya.ru>
previous changes: 30:ac681cc74573
line |
diff
|
{% end %} |
31:edd83c4dc2f0
viewer: marks selector
Anton Shestakov <engored@ya.ru>
previous changes: 30:ac681cc74573
line |
diff
|
{% for mark, desc in moremarks.items() %} |
31:edd83c4dc2f0
viewer: marks selector
Anton Shestakov <engored@ya.ru>
previous changes: 30:ac681cc74573
line |
diff
|
+<a href="{{ setmarks(add=mark) }}" title="{{ desc }}">{{ mark }}</a> |
31:edd83c4dc2f0
viewer: marks selector
Anton Shestakov <engored@ya.ru>
previous changes: 30:ac681cc74573
line |
diff
|
{% end %} |
31:edd83c4dc2f0
viewer: marks selector
Anton Shestakov <engored@ya.ru>
previous changes: 30:ac681cc74573
line |
diff
|
*<a href="{{ setmarks() }}">all</a> |
36
36:82ab27e2178f
viewer: more margins for readability
Anton Shestakov <av6@dwimlabs.net>
previous changes: 31:edd83c4dc2f0
line |
diff
|
</p> |
20
20:2121bac8dcf0
viewer: move links to <header> and <footer> elements
Anton Shestakov <engored@ya.ru>
previous changes: 19:4a77e5b067b8
line |
diff
|
</header> |
1 | <table> |
<thead> | |
<tr> | |
<td>rev</td> | |
<td>node</td> | |
<td title="merge">M</td> | |
<td>branch</td> | |
<td>tags</td> | |
<td>user</td> | |
<td>desc</td> | |
{% for mark, desc in marks.items() %} | |
<td title="{{ desc }}">{{ mark }}</td> | |
{% end %} | |
</tr> | |
</thead> | |
<tbody> | |
{% for cset in changesets %} | |
<tr> | |
<td>{{ cset['rev'] }}</td> | |
<td><a href="http://selenic.com/hg/rev/{{ cset['node'] }}">{{ cset['node'][:12] }}<a/></td> | |
<td>{{ 'M' if len(cset['parents']) > 1 else '' }}</td> | |
<td>{{ cset['branch'] }}</td> | |
<td>{{ ', '.join(cset['tags']) }}</td> | |
39
39:f435e3c69f4e
viewer: shorten usernames/emails by replacing domain part after @
Anton Shestakov <av6@dwimlabs.net>
previous changes: 36:82ab27e2178f
line |
diff
|
<td title="{{ showuser(cset['user']) }}">{{ showuser(cset['user'], short=True) }}</td> |
1 | <td class="hint"><div title="{{ cset['desc'] }}">{{ cset['desc'].partition('\n')[0] }}</div></td> |
{% for mark in marks %} | |
{% set result = results.get(cset['node'], {}) %} | |
9
9:95a9dbed32a6
viewer: show second time in .html view
Anton Shestakov <engored@ya.ru>
previous changes: 1:cb057921cd8c
line |
diff
|
{% set v1, c1, v2, c2 = result.get(mark, (None, None, None, None)) %} |
1 | <td> |
15
15:e644175a79bb
semicolons
Anton Shestakov <engored@ya.ru>
previous changes: 10:0dcbc688ad6b
line |
diff
|
<span style="{% if c1 is not None %}background-color: rgb{{ str(c1) }};{% end %}"> </span>{# |
15:e644175a79bb
semicolons
Anton Shestakov <engored@ya.ru>
previous changes: 10:0dcbc688ad6b
line |
diff
|
#}<span style="{% if c2 is not None %}background-color: rgb{{ str(c2) }};{% end %}"> </span> |
19
19:4a77e5b067b8
viewer: timings are more important, move them forward
Anton Shestakov <engored@ya.ru>
previous changes: 15:e644175a79bb
line |
diff
|
<span title="{{ v1 }} without .hg/cache">{{ '{:.2f}s'.format(v1) if v1 is not None else '-' }}</span>{# |
9
9:95a9dbed32a6
viewer: show second time in .html view
Anton Shestakov <engored@ya.ru>
previous changes: 1:cb057921cd8c
line |
diff
|
#}/{# |
19
19:4a77e5b067b8
viewer: timings are more important, move them forward
Anton Shestakov <engored@ya.ru>
previous changes: 15:e644175a79bb
line |
diff
|
#}<span title="{{ v2 }} with .hg/cache">{{ '{:.2f}s'.format(v2) if v2 is not None else '-' }}</span> |
1 | </td> |
{% end %} | |
</tr> | |
{% end %} | |
</tbody> | |
</table> | |
20
20:2121bac8dcf0
viewer: move links to <header> and <footer> elements
Anton Shestakov <engored@ya.ru>
previous changes: 19:4a77e5b067b8
line |
diff
|
<footer> |
36
36:82ab27e2178f
viewer: more margins for readability
Anton Shestakov <av6@dwimlabs.net>
previous changes: 31:edd83c4dc2f0
line |
diff
|
<p> |
36:82ab27e2178f
viewer: more margins for readability
Anton Shestakov <av6@dwimlabs.net>
previous changes: 31:edd83c4dc2f0
line |
diff
|
<a href="{{ setrev() }}">back to tip</a> |
36:82ab27e2178f
viewer: more margins for readability
Anton Shestakov <av6@dwimlabs.net>
previous changes: 31:edd83c4dc2f0
line |
diff
|
{% if prevrev %}<a href="{{ setrev(prevrev) }}">prev page</a>{% end %} |
36:82ab27e2178f
viewer: more margins for readability
Anton Shestakov <av6@dwimlabs.net>
previous changes: 31:edd83c4dc2f0
line |
diff
|
{% if nextrev > -1 %}<a href="{{ setrev(nextrev) }}">next page</a>{% end %} |
36:82ab27e2178f
viewer: more margins for readability
Anton Shestakov <av6@dwimlabs.net>
previous changes: 31:edd83c4dc2f0
line |
diff
|
</p> |
20
20:2121bac8dcf0
viewer: move links to <header> and <footer> elements
Anton Shestakov <engored@ya.ru>
previous changes: 19:4a77e5b067b8
line |
diff
|
</footer> |
1 | </body> |
</html> |