##// END OF EJS Templates
dirstate: fix debug.dirstate.delaywrite to use the new "now" after sleeping...
Mads Kiilerich -
r30224:ad56071b stable
parent child Browse files
Show More
@@ -757,6 +757,7 b' class dirstate(object):'
757 start = int(clock) - (int(clock) % delaywrite)
757 start = int(clock) - (int(clock) % delaywrite)
758 end = start + delaywrite
758 end = start + delaywrite
759 time.sleep(end - clock)
759 time.sleep(end - clock)
760 now = end # trust our estimate that the end is near now
760 break
761 break
761
762
762 st.write(parsers.pack_dirstate(self._map, self._copymap, self._pl, now))
763 st.write(parsers.pack_dirstate(self._map, self._copymap, self._pl, now))
General Comments 0
You need to be logged in to leave comments. Login now