##// END OF EJS Templates
configitems: register the 'debug.dirstate.delaywrite' config
Boris Feld -
r34482:cbda631c default
parent child Browse files
Show More
@@ -107,6 +107,9 b" coreconfigitem('commands', 'status.verbo"
107 coreconfigitem('commands', 'update.requiredest',
107 coreconfigitem('commands', 'update.requiredest',
108 default=False,
108 default=False,
109 )
109 )
110 coreconfigitem('debug', 'dirstate.delaywrite',
111 default=0,
112 )
110 coreconfigitem('devel', 'all-warnings',
113 coreconfigitem('devel', 'all-warnings',
111 default=False,
114 default=False,
112 )
115 )
@@ -766,7 +766,7 b' class dirstate(object):'
766
766
767 # enough 'delaywrite' prevents 'pack_dirstate' from dropping
767 # enough 'delaywrite' prevents 'pack_dirstate' from dropping
768 # timestamp of each entries in dirstate, because of 'now > mtime'
768 # timestamp of each entries in dirstate, because of 'now > mtime'
769 delaywrite = self._ui.configint('debug', 'dirstate.delaywrite', 0)
769 delaywrite = self._ui.configint('debug', 'dirstate.delaywrite')
770 if delaywrite > 0:
770 if delaywrite > 0:
771 # do we have any files to delay for?
771 # do we have any files to delay for?
772 for f, e in self._map.iteritems():
772 for f, e in self._map.iteritems():
General Comments 0
You need to be logged in to leave comments. Login now