##// END OF EJS Templates
dirstate: issue a developer warning on implicit write on wlock release...
marmoute -
r50952:cf8b9c80 default
parent child Browse files
Show More
@@ -3075,6 +3075,9 b' class localrepository:'
3075 self.ui.develwarn(msg)
3075 self.ui.develwarn(msg)
3076 self.dirstate.invalidate()
3076 self.dirstate.invalidate()
3077 else:
3077 else:
3078 if self.dirstate._dirty:
3079 msg = b"dirty dirstate on wlock release"
3080 self.ui.develwarn(msg)
3078 self.dirstate.write(None)
3081 self.dirstate.write(None)
3079
3082
3080 self._filecache[b'dirstate'].refresh()
3083 self._filecache[b'dirstate'].refresh()
General Comments 0
You need to be logged in to leave comments. Login now