# HG changeset patch # User Alexander Plavin # Date 1373662676 -14400 # Node ID a79b21ece34525d03babb5c182ebe4303595bfbe # Parent e92d4b8530cbb93fe332cfbcea1b550cc8f5ef48 hgweb: add line wrapping switch to file diff and changeset views diff -r e92d4b8530cb -r a79b21ece345 mercurial/templates/paper/changeset.tmpl --- 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 @@
+
line wrap: on
line diff
{diff} diff -r e92d4b8530cb -r a79b21ece345 mercurial/templates/paper/filediff.tmpl --- 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 @@
+
line wrap: on
line diff
{diff} diff -r e92d4b8530cb -r a79b21ece345 tests/test-hgweb-commands.t --- 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 @@
+
line wrap: on
line diff
diff -r e92d4b8530cb -r a79b21ece345 tests/test-hgweb-diffs.t
--- 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 @@
   
   
   
+
line wrap: on
line diff
@@ -272,6 +273,7 @@
   
   
   
+
line wrap: on
line diff
@@ -405,6 +407,7 @@
   
   
   
+
line wrap: on
line diff
@@ -539,6 +542,7 @@
   
   
   
+
line wrap: on
line diff
diff -r e92d4b8530cb -r a79b21ece345 tests/test-hgweb-removed.t
--- 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 @@
   
   
   
+
line wrap: on
line diff
@@ -216,6 +217,7 @@
   
   
   
+
line wrap: on
line diff