merge with upstream
authorThomas Arendsen Hein <thomas@intevation.de>
Wed, 24 Jan 2007 23:06:45 +0100
changeset 4041 add43809810d
parent 4039 55578a8d7e84 (current diff)
parent 4040 cc08d2543593 (diff)
child 4045 1bd6868b0b11
merge with upstream
--- a/hgext/hgk.py
+++ b/hgext/hgk.py
@@ -71,7 +71,7 @@ def catcommit(repo, n, prefix, ctx=None)
     if p1: print "parent %s" % (hg.short(p1.node()))
     if p2: print "parent %s" % (hg.short(p2.node()))
     date = ctx.date()
-    description = ctx.description()
+    description = ctx.description().replace("\0", "")
     lines = description.splitlines()
     if lines and lines[-1].startswith('committer:'):
         committer = lines[-1].split(': ')[1].rstrip()