convert/gnuarch: add cat-log payload to commit description
authorEdouard Gomez <ed.gomez@free.fr>
Sun, 04 Jan 2009 18:44:30 +0100
changeset 7591 cac40e310f92
parent 7590 e5703ec08e64
child 7592 75ad51257c82
convert/gnuarch: add cat-log payload to commit description
hgext/convert/gnuarch.py
--- a/hgext/convert/gnuarch.py	Sun Jan 04 19:38:41 2009 +0100
+++ b/hgext/convert/gnuarch.py	Sun Jan 04 18:44:30 2009 +0100
@@ -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: