--- a/mercurial/templates/paper/changeset.tmpl Sat Jul 13 00:57:10 2013 +0400
+++ b/mercurial/templates/paper/changeset.tmpl Sat Jul 13 00:57:56 2013 +0400
@@ -77,6 +77,7 @@
</table>
<div class="overflow">
+<div class="sourcefirst linewraptoggle">line wrap: <a class="linewraplink" href="javascript:toggleLinewrap()">on</a></div>
<div class="sourcefirst"> line diff</div>
<div class="stripes2 diffblocks">
{diff}
--- a/mercurial/templates/paper/filediff.tmpl Sat Jul 13 00:57:10 2013 +0400
+++ b/mercurial/templates/paper/filediff.tmpl Sat Jul 13 00:57:56 2013 +0400
@@ -68,6 +68,7 @@
</table>
<div class="overflow">
+<div class="sourcefirst linewraptoggle">line wrap: <a class="linewraplink" href="javascript:toggleLinewrap()">on</a></div>
<div class="sourcefirst"> line diff</div>
<div class="stripes2 diffblocks">
{diff}
--- a/tests/test-hgweb-commands.t Sat Jul 13 00:57:10 2013 +0400
+++ b/tests/test-hgweb-commands.t Sat Jul 13 00:57:56 2013 +0400
@@ -450,6 +450,7 @@
</table>
<div class="overflow">
+ <div class="sourcefirst linewraptoggle">line wrap: <a class="linewraplink" href="javascript:toggleLinewrap()">on</a></div>
<div class="sourcefirst"> line diff</div>
<div class="stripes2 diffblocks">
<div class="bottomline inc-lineno"><pre class="sourcelines wrap">
--- a/tests/test-hgweb-diffs.t Sat Jul 13 00:57:10 2013 +0400
+++ b/tests/test-hgweb-diffs.t Sat Jul 13 00:57:56 2013 +0400
@@ -142,6 +142,7 @@
</table>
<div class="overflow">
+ <div class="sourcefirst linewraptoggle">line wrap: <a class="linewraplink" href="javascript:toggleLinewrap()">on</a></div>
<div class="sourcefirst"> line diff</div>
<div class="stripes2 diffblocks">
<div class="bottomline inc-lineno"><pre class="sourcelines wrap">
@@ -272,6 +273,7 @@
</table>
<div class="overflow">
+ <div class="sourcefirst linewraptoggle">line wrap: <a class="linewraplink" href="javascript:toggleLinewrap()">on</a></div>
<div class="sourcefirst"> line diff</div>
<div class="stripes2 diffblocks">
<div class="bottomline inc-lineno"><pre class="sourcelines wrap">
@@ -405,6 +407,7 @@
</table>
<div class="overflow">
+ <div class="sourcefirst linewraptoggle">line wrap: <a class="linewraplink" href="javascript:toggleLinewrap()">on</a></div>
<div class="sourcefirst"> line diff</div>
<div class="stripes2 diffblocks">
<div class="bottomline inc-lineno"><pre class="sourcelines wrap">
@@ -539,6 +542,7 @@
</table>
<div class="overflow">
+ <div class="sourcefirst linewraptoggle">line wrap: <a class="linewraplink" href="javascript:toggleLinewrap()">on</a></div>
<div class="sourcefirst"> line diff</div>
<div class="stripes2 diffblocks">
<div class="bottomline inc-lineno"><pre class="sourcelines wrap">
--- a/tests/test-hgweb-removed.t Sat Jul 13 00:57:10 2013 +0400
+++ b/tests/test-hgweb-removed.t Sat Jul 13 00:57:56 2013 +0400
@@ -115,6 +115,7 @@
</table>
<div class="overflow">
+ <div class="sourcefirst linewraptoggle">line wrap: <a class="linewraplink" href="javascript:toggleLinewrap()">on</a></div>
<div class="sourcefirst"> line diff</div>
<div class="stripes2 diffblocks">
<div class="bottomline inc-lineno"><pre class="sourcelines wrap">
@@ -216,6 +217,7 @@
</table>
<div class="overflow">
+ <div class="sourcefirst linewraptoggle">line wrap: <a class="linewraplink" href="javascript:toggleLinewrap()">on</a></div>
<div class="sourcefirst"> line diff</div>
<div class="stripes2 diffblocks">
<div class="bottomline inc-lineno"><pre class="sourcelines wrap">