##// END OF EJS Templates
dirstate-item: use `maybe_clean` instead of `state` in record...
marmoute -
r48912:571dd808 default
parent child Browse files
Show More
@@ -626,7 +626,7 b' def dorecord('
626 for realname, tmpname in pycompat.iteritems(backups):
626 for realname, tmpname in pycompat.iteritems(backups):
627 ui.debug(b'restoring %r to %r\n' % (tmpname, realname))
627 ui.debug(b'restoring %r to %r\n' % (tmpname, realname))
628
628
629 if dirstate[realname] == b'n':
629 if dirstate.get_entry(realname).maybe_clean:
630 # without normallookup, restoring timestamp
630 # without normallookup, restoring timestamp
631 # may cause partially committed files
631 # may cause partially committed files
632 # to be treated as unmodified
632 # to be treated as unmodified
General Comments 0
You need to be logged in to leave comments. Login now