Show More
@@ -626,7 +626,7 b' def dorecord(' | |||
|
626 | 626 | for realname, tmpname in pycompat.iteritems(backups): |
|
627 | 627 | ui.debug(b'restoring %r to %r\n' % (tmpname, realname)) |
|
628 | 628 | |
|
629 |
if dirstate |
|
|
629 | if dirstate.get_entry(realname).maybe_clean: | |
|
630 | 630 | # without normallookup, restoring timestamp |
|
631 | 631 | # may cause partially committed files |
|
632 | 632 | # to be treated as unmodified |
General Comments 0
You need to be logged in to leave comments.
Login now