##// END OF EJS Templates
dirstatemap: small rework of the `set_untracked` method...
marmoute -
r48936:08e04bb0 default
parent child Browse files
Show More
@@ -479,10 +479,9 b' class dirstatemap(_dirstatemapcommon):'
479 self._dirs_decr(f, old_entry=entry, remove_variant=not entry.added)
479 self._dirs_decr(f, old_entry=entry, remove_variant=not entry.added)
480 if not entry.merged:
480 if not entry.merged:
481 self.copymap.pop(f, None)
481 self.copymap.pop(f, None)
482 if entry.added:
482 entry.set_untracked()
483 if not entry.any_tracked:
483 self._map.pop(f, None)
484 self._map.pop(f, None)
484 else:
485 entry.set_untracked()
486 return True
485 return True
487
486
488
487
General Comments 0
You need to be logged in to leave comments. Login now