##// END OF EJS Templates
parser: force a `ValueError` to bytes before passing to `error.ParseError`...
parser: force a `ValueError` to bytes before passing to `error.ParseError` I'm not sure what changed before pytype 09-09-2021 (from 04-15-2021), but this started getting flagged. I think there's a pytype bug here, because I don't see how `.lower()` can be getting called on a `ValueError` after it is forced to a byte string. That's suppressed for now to make progress. This fixes: File "/mnt/c/Users/Matt/hg/mercurial/parser.py", line 219, in unescapestr: Function bytestr.__init__ was called with the wrong arguments [wrong-arg-types] Expected: (self, ints: Iterable[int]) Actually passed: (self, ints: ValueError) Attributes of protocol Iterable[int] are not implemented on ValueError: __iter__ File "/mnt/c/Users/Matt/hg/mercurial/parser.py", line 219, in unescapestr: No attribute 'lower' on ValueError [attribute-error] In Union[ValueError, mercurial.pycompat.bytestr] Differential Revision: https://phab.mercurial-scm.org/D11471

File last commit:

r35055:9acc0360 default
r48824:8655a77d default
Show More
filelogentry.tmpl
9 lines | 333 B | application/x-cheetah | CheetahLexer
Alexander Plavin
hgweb: make stripes in file log with CSS
r19454 <tr>
Brodie Rao
hgweb: fix dynamic date calculation not working under Safari...
r15375 <td class="age">{date|rfc822date}</td>
Dan Villiom Podlaski Christiansen
setup: install translation files as package data...
r9999 <td class="author">{author|person}</td>
Anton Shestakov
hgweb: split some long lines in paper, gitweb and monoblue styles...
r25108 <td class="description">
<a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">{desc|strip|firstline|escape|nonempty}</a>
av6
hgweb: move changeset "tags" to a template in map file (paper and coal)...
r35055 {alltags}{rename%filelogrename}
Anton Shestakov
hgweb: split some long lines in paper, gitweb and monoblue styles...
r25108 </td>
Dan Villiom Podlaski Christiansen
setup: install translation files as package data...
r9999 </tr>
Denis Laxalde
hgweb: add a "patch" query parameter to filelog command...
r31661 {if(patch, '<tr><td colspan="3">{diff}</td></tr>')}