##// END OF EJS Templates
keyword: restore kwtemplater.restrict at the end of wrapped patch.diff...
keyword: restore kwtemplater.restrict at the end of wrapped patch.diff Before this patch, kwdiff doesn't restore kwtemplater.restrict after invocation of wrapped patch.diff(). This suppresses keyword expansion at subsequent filelog.read(). Typical usecase of this issue is "hg cat" after "hg diff" with command server. In this case, kwtemplater.restrict=True is kept in command server process even after "hg diff". To ensure kwtemplater.restrict=True while original patch.diff() running, this patch makes kwdiff() yield values returned by it, because it returns generator object. Strictly speaking, if filelog.read() is invoked before completely evaluating the result of previous patch.diff(), keyword expansion is still suppressed, because kwtemplater.restrict isn't restored yet. But this fixing should be reasonable enough, because patch.diff() is consumed immediately, AFAIK.

File last commit:

r30558:7817df55 stable
r33063:7f569ce3 default
Show More
filelogentry.tmpl
7 lines | 315 B | application/x-cheetah | CheetahLexer
Dan Villiom Podlaski Christiansen
setup: install translation files as package data...
r9999 <item>
<title>{desc|strip|firstline|strip|escape}</title>
av6
hgweb: add missing slash to file log url in rss style
r30558 <link>{urlbase}{url|urlescape}log/{node|short}/{file|urlescape}</link>
Steven Brown
hgweb: apply websub filter to the changeset description in rss and atom feeds...
r21486 <description><![CDATA[{desc|strip|escape|websub|addbreaks|nonempty}]]></description>
Dan Villiom Podlaski Christiansen
setup: install translation files as package data...
r9999 <author>{author|obfuscate}</author>
<pubDate>{date|rfc822date}</pubDate>
</item>