##// END OF EJS Templates
dirstate: warn if dirty when starting an edition...
marmoute -
r51397:3433723d default
parent child Browse files
Show More
@@ -190,6 +190,9 b' class dirstate:'
190 raise error.ProgrammingError(msg)
190 raise error.ProgrammingError(msg)
191
191
192 has_tr = repo.currenttransaction() is not None
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 # different type of change are mutually exclusive
197 # different type of change are mutually exclusive
195 if self._change_type is None:
198 if self._change_type is None:
General Comments 0
You need to be logged in to leave comments. Login now