mercurial/context.py
changeset 47356 04d1f17f49e7
parent 47202 b338d831d18c
child 47594 0cef28b121a4
equal deleted inserted replaced
47355:7138c863d0a1 47356:04d1f17f49e7
  1838         return modified, deleted, fixup
  1838         return modified, deleted, fixup
  1839 
  1839 
  1840     def _poststatusfixup(self, status, fixup):
  1840     def _poststatusfixup(self, status, fixup):
  1841         """update dirstate for files that are actually clean"""
  1841         """update dirstate for files that are actually clean"""
  1842         poststatus = self._repo.postdsstatus()
  1842         poststatus = self._repo.postdsstatus()
  1843         if fixup or poststatus:
  1843         if fixup or poststatus or self._repo.dirstate._dirty:
  1844             try:
  1844             try:
  1845                 oldid = self._repo.dirstate.identity()
  1845                 oldid = self._repo.dirstate.identity()
  1846 
  1846 
  1847                 # updating the dirstate is optional
  1847                 # updating the dirstate is optional
  1848                 # so we don't wait on the lock
  1848                 # so we don't wait on the lock