Mercurial > hg
diff mercurial/ui.py @ 33150:77e666f943a6
configitems: support callable as a default value
Yuya pointed out that using mutable value as the default could be problematic.
To work around this we now support callable object as default value. This
allows for creating new mutable objects on demand when needed.
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Wed, 28 Jun 2017 13:50:20 +0200 |
parents | d9962854a4a2 |
children | e714159860fd |
line wrap: on
line diff