##// END OF EJS Templates
configitems: register the test 'fakepatchtime.fakenow' config
Boris Feld -
r34773:7be2f229 default
parent child Browse files
Show More
@@ -6,9 +6,17 b' from __future__ import absolute_import'
6 from mercurial import (
6 from mercurial import (
7 extensions,
7 extensions,
8 patch as patchmod,
8 patch as patchmod,
9 registrar,
9 util,
10 util,
10 )
11 )
11
12
13 configtable = {}
14 configitem = registrar.configitem(configtable)
15
16 configitem('fakepatchtime', 'fakenow',
17 default=None,
18 )
19
12 def internalpatch(orig, ui, repo, patchobj, strip,
20 def internalpatch(orig, ui, repo, patchobj, strip,
13 prefix='', files=None,
21 prefix='', files=None,
14 eolmode='strict', similarity=0):
22 eolmode='strict', similarity=0):
General Comments 0
You need to be logged in to leave comments. Login now