# HG changeset patch
# User Yuki KODAMA <endflow....@gmail.com>
# Date 1252423523 -32400
# Node ID 9135209e9ee48b5308889c82c77e31ff2a458758
# Parent  6d5ed01491c2698991fedd77be6608dd09c04b2f
commit: escape summary text to avoid the error

diff --git a/hggtk/commit.py b/hggtk/commit.py
--- a/hggtk/commit.py
+++ b/hggtk/commit.py
@@ -418,7 +418,8 @@
         def setlabel(label, ctx, ishead):
             revision = str(ctx.rev())
             hash = str(ctx)
-            summary = hglib.toutf(ctx.description().split('\n')[0])
+            summary = gtklib.markup_escape_text(hglib.toutf(
+                                ctx.description().split('\n')[0]))
             face = 'monospace'
             size = '9000'

Attachment: thg-kuy_rev3885.patch
Description: Binary data

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Tortoisehg-develop mailing list
Tortoisehg-develop@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tortoisehg-develop

Reply via email to