# HG changeset patch # User Boris Feld # Date 2017-10-13 22:15:37 # Node ID 28b7034a916a1345bd05283a9f3a942cfb043cd3 # Parent bb05720913d3a0e7874b98b4af18509185dc4063 configitems: register the test 'fakedirstatewritetime.fakenow' config diff --git a/tests/fakedirstatewritetime.py b/tests/fakedirstatewritetime.py --- a/tests/fakedirstatewritetime.py +++ b/tests/fakedirstatewritetime.py @@ -12,9 +12,17 @@ from mercurial import ( 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):