Show More
@@ -708,8 +708,12 b' class dirstate(object):' | |||
|
708 | 708 | # timestamp of each entries in dirstate, because of 'now > mtime' |
|
709 | 709 | delaywrite = self._ui.configint('debug', 'dirstate.delaywrite', 0) |
|
710 | 710 | if delaywrite > 0: |
|
711 | import time # to avoid useless import | |
|
712 | time.sleep(delaywrite) | |
|
711 | # do we have any files to delay for? | |
|
712 | for f, e in self._map.iteritems(): | |
|
713 | if e[0] == 'n' and e[3] == now: | |
|
714 | import time # to avoid useless import | |
|
715 | time.sleep(delaywrite) | |
|
716 | break | |
|
713 | 717 | |
|
714 | 718 | st.write(parsers.pack_dirstate(self._map, self._copymap, self._pl, now)) |
|
715 | 719 | st.close() |
General Comments 0
You need to be logged in to leave comments.
Login now