diff hgext/journal.py @ 30131:85d5708eae4e

py3: namedtuple takes unicode (journal ext) namedtuple usage consistent with changelog.py:141
author Mateusz Kwapich <mitrandir@fb.com>
date Mon, 10 Oct 2016 05:30:14 -0700
parents e5a97ec6ebb8
children 74ee10702bbf
line wrap: on
line diff
--- a/hgext/journal.py	Sun Oct 09 09:42:46 2016 -0400
+++ b/hgext/journal.py	Mon Oct 10 05:30:14 2016 -0700
@@ -177,8 +177,8 @@
     return orig(ui, repo, repopath)
 
 class journalentry(collections.namedtuple(
-        'journalentry',
-        'timestamp user command namespace name oldhashes newhashes')):
+        u'journalentry',
+        u'timestamp user command namespace name oldhashes newhashes')):
     """Individual journal entry
 
     * timestamp: a mercurial (time, timezone) tuple