Strip whitespace from changeset description in changeset_templater.
authorThomas Arendsen Hein <thomas@intevation.de>
Sun, 08 Jul 2007 10:43:57 +0200
changeset 4824 f3f84d5cd268
parent 4823 b68b250f9537
child 4825 3cf94964c56b
Strip whitespace from changeset description in changeset_templater. changeset_printer already does this, too.
mercurial/cmdutil.py
--- a/mercurial/cmdutil.py	Fri Jul 06 08:48:28 2007 +0200
+++ b/mercurial/cmdutil.py	Sun Jul 08 10:43:57 2007 +0200
@@ -966,7 +966,7 @@
             'author': changes[1],
             'branches': showbranches,
             'date': changes[2],
-            'desc': changes[4],
+            'desc': changes[4].strip(),
             'file_adds': showadds,
             'file_dels': showdels,
             'files': showfiles,