Show More
@@ -267,6 +267,11 b' class dirstate:' | |||
|
267 | 267 | if should_write: |
|
268 | 268 | assert repo.currenttransaction() is tr |
|
269 | 269 | self.write(tr) |
|
270 | elif not has_lock: | |
|
271 | if self._dirty: | |
|
272 | msg = b'dirstate dirty while exiting an isolated status context' | |
|
273 | repo.ui.develwarn(msg) | |
|
274 | self.invalidate() | |
|
270 | 275 | |
|
271 | 276 | @contextlib.contextmanager |
|
272 | 277 | @check_invalidated |
General Comments 0
You need to be logged in to leave comments.
Login now