Mercurial > hg
annotate mercurial/templates/paper/diffstat.tmpl @ 52134:479899e53816 default tip
tests: hopefully fix `test-doctest.py` on Windows and more
1. Shell syntax understood by `shell=True` depends on the platform.
Instead, pass `shell=False` and call `sh` explicitly to interpret
the command correctly.
2. Stop setting `HGRCPATH=/dev/null`, so the setting
`experimental.evolution=createmarkers` is set correctly.
The reason I set HGRCPATH to /dev/null previously is because of
misunderstanding where I thought the Python script had no HGRC to edit.
As it turns out, there is in fact a valid temporary HGRC pointed to by
HGRCPATH in this context so we don't seem to need this. /shrug
author | Arseniy Alekseyev <aalekseyev@janestreet.com> |
---|---|
date | Mon, 07 Oct 2024 12:08:48 +0100 |
parents | c229a5e7511e |
children |
rev | line source |
---|---|
19455
c229a5e7511e
hgweb: make stripes in diffstat with CSS
Alexander Plavin <me@aplavin.ru>
parents:
14563
diff
changeset
|
1 <tr> |
14563
81fc9678b018
paper, coal: define the diffstat templates
Steven Brown <StevenGBrown@gmail.com>
parents:
diff
changeset
|
2 <td class="diffstat-file"><a href="#l{fileno}.1">{file|escape}</a></td> |
81fc9678b018
paper, coal: define the diffstat templates
Steven Brown <StevenGBrown@gmail.com>
parents:
diff
changeset
|
3 <td class="diffstat-total" align="right">{total}</td> |
81fc9678b018
paper, coal: define the diffstat templates
Steven Brown <StevenGBrown@gmail.com>
parents:
diff
changeset
|
4 <td class="diffstat-graph"> |
81fc9678b018
paper, coal: define the diffstat templates
Steven Brown <StevenGBrown@gmail.com>
parents:
diff
changeset
|
5 <span class="diffstat-add" style="width:{addpct}%;"> </span> |
81fc9678b018
paper, coal: define the diffstat templates
Steven Brown <StevenGBrown@gmail.com>
parents:
diff
changeset
|
6 <span class="diffstat-remove" style="width:{removepct}%;"> </span> |
81fc9678b018
paper, coal: define the diffstat templates
Steven Brown <StevenGBrown@gmail.com>
parents:
diff
changeset
|
7 </td> |
81fc9678b018
paper, coal: define the diffstat templates
Steven Brown <StevenGBrown@gmail.com>
parents:
diff
changeset
|
8 </tr> |