[PATCH 1 of 2] convert/gnuarch: add cat-log payload to commit description

Edouard Gomez ed.gomez at free.fr
Sun Jan 4 11:44:59 CST 2009


# HG changeset patch
# User Edouard Gomez <ed.gomez at free.fr>
# Date 1231091070 -3600
# Node ID 6563a8f9e9a7f7340c5aef0fe270470dc3389bcd
# Parent  766d9cf58b3f5198540292de2fa4f21e9779fef7
convert/gnuarch: add cat-log payload to commit description

diff --git a/hgext/convert/gnuarch.py b/hgext/convert/gnuarch.py
--- a/hgext/convert/gnuarch.py
+++ b/hgext/convert/gnuarch.py
@@ -267,7 +267,8 @@
                 util.strdate(catlog['Standard-date'],
                              '%Y-%m-%d %H:%M:%S'))
             self.changes[rev].author = catlog['Creator']
-            self.changes[rev].summary = catlog['Summary']
+            self.changes[rev].summary = '\n\n'.join(catlog['Summary'], 
+                                                    catlog.get_payload())
             if catlog.has_key('Continuation-of'):
                 self.changes[rev].continuationof = catlog['Continuation-of']
 	except Exception, err:


More information about the Mercurial-devel mailing list