author | Boris Feld <boris.feld@octobus.net> |
Sat, 14 Oct 2017 00:16:12 +0200 | |
changeset 34772 | 7be2f229285b |
parent 34771 | 28b7034a916a |
child 34773 | 607085aa4d67 |
--- a/tests/fakepatchtime.py Sat Oct 14 00:15:37 2017 +0200 +++ b/tests/fakepatchtime.py Sat Oct 14 00:16:12 2017 +0200 @@ -6,9 +6,17 @@ from mercurial import ( extensions, patch as patchmod, + registrar, util, ) +configtable = {} +configitem = registrar.configitem(configtable) + +configitem('fakepatchtime', 'fakenow', + default=None, +) + def internalpatch(orig, ui, repo, patchobj, strip, prefix='', files=None, eolmode='strict', similarity=0):