##// END OF EJS Templates
dirstate: ignore negative debug.dirstate.delaywrite values - they crashed it...
Mads Kiilerich -
r23866:9dd44214 default
parent child Browse files
Show More
@@ -544,7 +544,7 b' class dirstate(object):'
544 # enough 'delaywrite' prevents 'pack_dirstate' from dropping
544 # enough 'delaywrite' prevents 'pack_dirstate' from dropping
545 # timestamp of each entries in dirstate, because of 'now > mtime'
545 # timestamp of each entries in dirstate, because of 'now > mtime'
546 delaywrite = self._ui.configint('debug', 'dirstate.delaywrite', 0)
546 delaywrite = self._ui.configint('debug', 'dirstate.delaywrite', 0)
547 if delaywrite:
547 if delaywrite > 0:
548 import time # to avoid useless import
548 import time # to avoid useless import
549 time.sleep(delaywrite)
549 time.sleep(delaywrite)
550
550
General Comments 0
You need to be logged in to leave comments. Login now