Mercurial > hg
annotate mercurial/templates/map-cmdline.phases @ 42551:8306b6c29add
py3: hack around inconsistency of type of name passed to DNSQuestion
I don't like this patch but this is the easiest way I could fix it. There are
some callers which pass name which is bytes, some pass name which is str. I just
encode() that if that's str.
This does makes test-paths.t pass, but I am not confident whether the whole of
zeroconf will work on py3 or not.
Differential Revision: https://phab.mercurial-scm.org/D6511
author | Pulkit Goyal <7895pulkit@gmail.com> |
---|---|
date | Tue, 11 Jun 2019 20:53:14 +0300 |
parents | f9a98075a37e |
children |
rev | line source |
---|---|
24907
9570587b6986
template-phases: extend default style instead of duplicating it
Yuya Nishihara <yuya@tcha.org>
parents:
24853
diff
changeset
|
1 %include map-cmdline.default |
34714
f4aeb952ab77
templater: load template fragments from [templates] section in map file
Yuya Nishihara <yuya@tcha.org>
parents:
24907
diff
changeset
|
2 |
f4aeb952ab77
templater: load template fragments from [templates] section in map file
Yuya Nishihara <yuya@tcha.org>
parents:
24907
diff
changeset
|
3 [templates] |
38947
f9a98075a37e
templates: rename "user" to "luser" defined in default map file (API)
Yuya Nishihara <yuya@tcha.org>
parents:
34714
diff
changeset
|
4 changeset = '{cset}{branches}{bookmarks}{tags}{lphase}{parents}{luser}{ldate}{summary}\n' |
f9a98075a37e
templates: rename "user" to "luser" defined in default map file (API)
Yuya Nishihara <yuya@tcha.org>
parents:
34714
diff
changeset
|
5 changeset_verbose = '{cset}{branches}{bookmarks}{tags}{lphase}{parents}{luser}{ldate}{lfiles}{lfile_copies_switch}{description}\n' |