mercurial/dirstate.py
branchstable
changeset 30224 ad56071b37d4
parent 30026 ba06562a06a2
child 30304 ba2c04059317
--- a/mercurial/dirstate.py	Fri Oct 21 16:31:16 2016 +0100
+++ b/mercurial/dirstate.py	Tue Oct 18 16:52:35 2016 +0200
@@ -757,6 +757,7 @@
                     start = int(clock) - (int(clock) % delaywrite)
                     end = start + delaywrite
                     time.sleep(end - clock)
+                    now = end # trust our estimate that the end is near now
                     break
 
         st.write(parsers.pack_dirstate(self._map, self._copymap, self._pl, now))