Mercurial > hg
comparison 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 |
comparison
equal
deleted
inserted
replaced
30130:7be610198360 | 30131:85d5708eae4e |
---|---|
175 storage._write(repo.vfs, entry) | 175 storage._write(repo.vfs, entry) |
176 | 176 |
177 return orig(ui, repo, repopath) | 177 return orig(ui, repo, repopath) |
178 | 178 |
179 class journalentry(collections.namedtuple( | 179 class journalentry(collections.namedtuple( |
180 'journalentry', | 180 u'journalentry', |
181 'timestamp user command namespace name oldhashes newhashes')): | 181 u'timestamp user command namespace name oldhashes newhashes')): |
182 """Individual journal entry | 182 """Individual journal entry |
183 | 183 |
184 * timestamp: a mercurial (time, timezone) tuple | 184 * timestamp: a mercurial (time, timezone) tuple |
185 * user: the username that ran the command | 185 * user: the username that ran the command |
186 * namespace: the entry namespace, an opaque string | 186 * namespace: the entry namespace, an opaque string |