##// END OF EJS Templates
dirstate: don't fail when dropping a not-tracked file (issue3080)...
Matt Mackall -
r15399:41453d55 2.0 stable
parent child Browse files
Show More
@@ -370,6 +370,7 b' class dirstate(object):'
370
370
371 def drop(self, f):
371 def drop(self, f):
372 '''Drop a file from the dirstate'''
372 '''Drop a file from the dirstate'''
373 if f in self._map:
373 self._dirty = True
374 self._dirty = True
374 self._droppath(f)
375 self._droppath(f)
375 del self._map[f]
376 del self._map[f]
General Comments 0
You need to be logged in to leave comments. Login now