mercurial/templates/map-cmdline.phases
author Pulkit Goyal <7895pulkit@gmail.com>
Mon, 05 Feb 2018 13:10:33 +0530
changeset 35916 d41e41d11574
parent 34714 f4aeb952ab77
child 38947 f9a98075a37e
permissions -rw-r--r--
py3: add __bytes__() for mq.patchheader and make sure __str__ returns str Before this patch, __str__() function for mq.patchheader class return bytes which is not str on Python 3. So let's move that logic to __bytes__() and for __str__() convert the return value of __bytes__() to str. Differential Revision: https://phab.mercurial-scm.org/D2042

%include map-cmdline.default

[templates]
changeset = '{cset}{branches}{bookmarks}{tags}{lphase}{parents}{user}{ldate}{summary}\n'
changeset_verbose = '{cset}{branches}{bookmarks}{tags}{lphase}{parents}{user}{ldate}{lfiles}{lfile_copies_switch}{description}\n'