Mercurial > hg-stable
changeset 34771:28b7034a916a
configitems: register the test 'fakedirstatewritetime.fakenow' config
author | Boris Feld <boris.feld@octobus.net> |
---|---|
date | Sat, 14 Oct 2017 00:15:37 +0200 |
parents | bb05720913d3 |
children | 7be2f229285b |
files | tests/fakedirstatewritetime.py |
diffstat | 1 files changed, 8 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/fakedirstatewritetime.py Fri Oct 13 23:26:16 2017 +0200 +++ b/tests/fakedirstatewritetime.py Sat Oct 14 00:15:37 2017 +0200 @@ -12,9 +12,17 @@ dirstate, extensions, policy, + registrar, util, ) +configtable = {} +configitem = registrar.configitem(configtable) + +configitem('fakedirstatewritetime', 'fakenow', + default=None, +) + parsers = policy.importmod(r'parsers') def pack_dirstate(fakenow, orig, dmap, copymap, pl, now):