comparison mercurial/scmposix.py @ 38238:7824783a6d5e

templater: add wrapped types for pure non-list/dict values These wrapper types will allow us to get rid of some isinstance() business. A bytes object needs to support sequence-like operations (e.g. join(), ifcontains(), etc.) That's why we have two wrapper classes. Tests will be added later.
author Yuya Nishihara <yuya@tcha.org>
date Tue, 20 Mar 2018 23:56:26 +0900
parents dacfcdd8b94e
children 57875cf423c9
comparison
equal deleted inserted replaced
38237:d48b80d58848 38238:7824783a6d5e