hgext/journal.py
changeset 37318 9954d0e2ad00
parent 37120 a8a902d7176e
child 39701 dea771e63c3c
--- a/hgext/journal.py	Mon Mar 19 12:46:56 2018 +0530
+++ b/hgext/journal.py	Mon Apr 02 17:06:42 2018 +0530
@@ -226,7 +226,7 @@
 
     def __bytes__(self):
         """bytes representation for storage"""
-        time = ' '.join(map(str, self.timestamp))
+        time = ' '.join(map(pycompat.bytestr, self.timestamp))
         oldhashes = ','.join([node.hex(hash) for hash in self.oldhashes])
         newhashes = ','.join([node.hex(hash) for hash in self.newhashes])
         return '\n'.join((