annotate mercurial/templates/paper/filelogentry.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 9acc0360ff67
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
19454
f4a3b50a30bd hgweb: make stripes in file log with CSS
Alexander Plavin <me@aplavin.ru>
parents: 18526
diff changeset
1 <tr>
15375
fe9d36a6853e hgweb: fix dynamic date calculation not working under Safari
Brodie Rao <brodie@bitheap.org>
parents: 14046
diff changeset
2 <td class="age">{date|rfc822date}</td>
7411
b71ee3e00e81 coal/paper: move actual templates from coal to paper
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
diff changeset
3 <td class="author">{author|person}</td>
25108
09ec4220a839 hgweb: split some long lines in paper, gitweb and monoblue styles
Anton Shestakov <engored@ya.ru>
parents: 19454
diff changeset
4 <td class="description">
09ec4220a839 hgweb: split some long lines in paper, gitweb and monoblue styles
Anton Shestakov <engored@ya.ru>
parents: 19454
diff changeset
5 <a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">{desc|strip|firstline|escape|nonempty}</a>
35064
9acc0360ff67 hgweb: move changeset "tags" to a template in map file (paper and coal)
Anton Shestakov <av6@dwimlabs.net>
parents: 31661
diff changeset
6 {alltags}{rename%filelogrename}
25108
09ec4220a839 hgweb: split some long lines in paper, gitweb and monoblue styles
Anton Shestakov <engored@ya.ru>
parents: 19454
diff changeset
7 </td>
7411
b71ee3e00e81 coal/paper: move actual templates from coal to paper
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
diff changeset
8 </tr>
31661
f36dc643ffdc hgweb: add a "patch" query parameter to filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 25110
diff changeset
9 {if(patch, '<tr><td colspan="3">{diff}</td></tr>')}