Show More
@@ -285,8 +285,8 b' class dirstate:' | |||||
285 |
|
285 | |||
286 | has_tr = repo.currenttransaction() is not None |
|
286 | has_tr = repo.currenttransaction() is not None | |
287 | if not has_tr and self._changing_level == 0 and self._dirty: |
|
287 | if not has_tr and self._changing_level == 0 and self._dirty: | |
288 | msg = "entering a changing context, but dirstate is already dirty" |
|
288 | msg = b"entering a changing context, but dirstate is already dirty" | |
289 | raise error.ProgrammingError(msg) |
|
289 | repo.ui.develwarn(msg) | |
290 |
|
290 | |||
291 | assert self._changing_level >= 0 |
|
291 | assert self._changing_level >= 0 | |
292 | # different type of change are mutually exclusive |
|
292 | # different type of change are mutually exclusive |
General Comments 0
You need to be logged in to leave comments.
Login now