##// END OF EJS Templates
dirstate: drop the `dirstatemap.dropfile` method...
marmoute -
r48817:5e7eea91 default
parent child Browse files
Show More
@@ -320,17 +320,6 b' class dirstatemap(object):'
320 entry.set_untracked()
320 entry.set_untracked()
321 return True
321 return True
322
322
323 def dropfile(self, f):
324 """
325 Remove a file from the dirstate. Returns True if the file was
326 previously recorded.
327 """
328 old_entry = self._map.pop(f, None)
329 self._dirs_decr(f, old_entry=old_entry)
330 self.nonnormalset.discard(f)
331 self.copymap.pop(f, None)
332 return old_entry is not None
333
334 def clearambiguoustimes(self, files, now):
323 def clearambiguoustimes(self, files, now):
335 for f in files:
324 for f in files:
336 e = self.get(f)
325 e = self.get(f)
General Comments 0
You need to be logged in to leave comments. Login now