Show More
@@ -190,6 +190,9 b' class dirstate:' | |||
|
190 | 190 | raise error.ProgrammingError(msg) |
|
191 | 191 | |
|
192 | 192 | has_tr = repo.currenttransaction() is not None |
|
193 | if not has_tr and self._changing_level == 0 and self._dirty: | |
|
194 | msg = "entering a changing context, but dirstate is already dirty" | |
|
195 | raise error.ProgrammingError(msg) | |
|
193 | 196 | |
|
194 | 197 | # different type of change are mutually exclusive |
|
195 | 198 | if self._change_type is None: |
General Comments 0
You need to be logged in to leave comments.
Login now