Mercurial > hg
annotate mercurial/templates/monoblue/index.tmpl @ 43506:9f70512ae2cf
cleanup: remove pointless r-prefixes on single-quoted strings
This is the promised second step on single-quoted strings. These had
existed because our source transformer didn't turn r'' into b'', so we
had tagged some strings as r-strings to get "native" strings on both
Pythons. Now that the transformer is gone, we can dispense with this
nonsense.
Methodology:
I ran
hg locate 'set:added() or modified() or clean()' | egrep '.*\.py$' | xargs egrep --color=never -n -- \[\^b\]\[\^a-z\]r\'\[\^\'\\\\\]\*\'\[\^\'\
in an emacs grep-mode buffer, and then used a keyboard macro to
iterate over the results and remove the r prefix as needed.
# skip-blame removing unneeded r prefixes left over from Python 3 migration.
Differential Revision: https://phab.mercurial-scm.org/D7306
author | Augie Fackler <augie@google.com> |
---|---|
date | Fri, 08 Nov 2019 11:19:20 -0800 |
parents | eb7de21b15be |
children |
rev | line source |
---|---|
8430
8b47efdf40ee
monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
7403
diff
changeset
|
1 {header} |
25746
0c3c0f123a1a
monoblue: don't try to show repo on hgwebdir index page
Anton Shestakov <av6@dwimlabs.net>
parents:
18526
diff
changeset
|
2 <title>Mercurial repositories index</title> |
7111 | 3 </head> |
4 | |
7403
9efd596e4393
Improve the monoblue theme for hgwebdir
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents:
7111
diff
changeset
|
5 <body> |
9efd596e4393
Improve the monoblue theme for hgwebdir
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents:
7111
diff
changeset
|
6 <div id="container"> |
9efd596e4393
Improve the monoblue theme for hgwebdir
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents:
7111
diff
changeset
|
7 <div class="page-header"> |
18258
bebb05a7e249
hgweb: add a "URL breadcrumb" to the index and repository pages
Angel Ezquerra <angel.ezquerra at gmail.com>
parents:
14913
diff
changeset
|
8 <h1 class="breadcrumb"><a href="/">Mercurial</a> {pathdef%breadcrumb}</h1> |
7403
9efd596e4393
Improve the monoblue theme for hgwebdir
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents:
7111
diff
changeset
|
9 <ul class="page-nav"> |
9efd596e4393
Improve the monoblue theme for hgwebdir
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents:
7111
diff
changeset
|
10 </ul> |
9efd596e4393
Improve the monoblue theme for hgwebdir
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents:
7111
diff
changeset
|
11 </div> |
10575
136eed1ac69c
trailing spaces (and one stray tab)
Thomas Arendsen Hein <thomas@intevation.de>
parents:
10301
diff
changeset
|
12 |
7403
9efd596e4393
Improve the monoblue theme for hgwebdir
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents:
7111
diff
changeset
|
13 <table cellspacing="0"> |
9efd596e4393
Improve the monoblue theme for hgwebdir
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents:
7111
diff
changeset
|
14 <tr> |
8430
8b47efdf40ee
monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
7403
diff
changeset
|
15 <td><a href="?sort={sort_name}">Name</a></td> |
8b47efdf40ee
monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
7403
diff
changeset
|
16 <td><a href="?sort={sort_description}">Description</a></td> |
8b47efdf40ee
monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
7403
diff
changeset
|
17 <td><a href="?sort={sort_contact}">Contact</a></td> |
10301
56b50194617f
templates: rename `Last change' column in hgwebdir repository list.
Dan Villiom Podlaski Christiansen <danchr@gmail.com>
parents:
9999
diff
changeset
|
18 <td><a href="?sort={sort_lastchange}">Last modified</a></td> |
7403
9efd596e4393
Improve the monoblue theme for hgwebdir
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents:
7111
diff
changeset
|
19 <td> </td> |
9efd596e4393
Improve the monoblue theme for hgwebdir
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents:
7111
diff
changeset
|
20 <td> </td> |
9efd596e4393
Improve the monoblue theme for hgwebdir
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents:
7111
diff
changeset
|
21 </tr> |
8430
8b47efdf40ee
monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
7403
diff
changeset
|
22 {entries%indexentry} |
7403
9efd596e4393
Improve the monoblue theme for hgwebdir
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents:
7111
diff
changeset
|
23 </table> |
9efd596e4393
Improve the monoblue theme for hgwebdir
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents:
7111
diff
changeset
|
24 <div class="page-footer"> |
9efd596e4393
Improve the monoblue theme for hgwebdir
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents:
7111
diff
changeset
|
25 {motd} |
9efd596e4393
Improve the monoblue theme for hgwebdir
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents:
7111
diff
changeset
|
26 </div> |
9efd596e4393
Improve the monoblue theme for hgwebdir
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents:
7111
diff
changeset
|
27 |
9efd596e4393
Improve the monoblue theme for hgwebdir
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents:
7111
diff
changeset
|
28 <div id="powered-by"> |
18526
9409aeaafdc1
hgweb: urlescape all urls, HTML escape repo/tag/branch/... names
Thomas Arendsen Hein <thomas@intevation.de>
parents:
18258
diff
changeset
|
29 <p><a href="{logourl}" title="Mercurial"><img src="{staticurl|urlescape}{logoimg}" width=75 height=90 border=0 alt="mercurial"></a></p> |
7403
9efd596e4393
Improve the monoblue theme for hgwebdir
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents:
7111
diff
changeset
|
30 </div> |
9efd596e4393
Improve the monoblue theme for hgwebdir
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents:
7111
diff
changeset
|
31 |
7111 | 32 </div> |
33 </body> | |
34 </html> |