##// END OF EJS Templates
dirstate: support file tracked nowhere in `reset_state`...
marmoute -
r48812:938a7769 default
parent child Browse files
Show More
@@ -180,8 +180,8 b' class dirstatemap(object):'
180 180 def reset_state(
181 181 self,
182 182 filename,
183 wc_tracked,
184 p1_tracked,
183 wc_tracked=False,
184 p1_tracked=False,
185 185 p2_tracked=False,
186 186 merged=False,
187 187 clean_p1=False,
@@ -206,7 +206,10 b' class dirstatemap(object):'
206 206 self.copymap.pop(filename, None)
207 207
208 208 if not (p1_tracked or p2_tracked or wc_tracked):
209 self.dropfile(filename)
209 old_entry = self._map.pop(filename, None)
210 self._dirs_decr(filename, old_entry=old_entry)
211 self.nonnormalset.discard(filename)
212 self.copymap.pop(filename, None)
210 213 return
211 214 elif merged:
212 215 # XXX might be merged and removed ?
@@ -576,8 +579,8 b' if rustmod is not None:'
576 579 def reset_state(
577 580 self,
578 581 filename,
579 wc_tracked,
580 p1_tracked,
582 wc_tracked=False,
583 p1_tracked=False,
581 584 p2_tracked=False,
582 585 merged=False,
583 586 clean_p1=False,
General Comments 0
You need to be logged in to leave comments. Login now