Show More
@@ -451,7 +451,8 b' class dirstate(object):' | |||
|
451 | 451 | possibly_dirty=False, |
|
452 | 452 | ): |
|
453 | 453 | oldstate = self[f] |
|
454 | if state == b'a' or oldstate == b'r': | |
|
454 | entry = self._map.get(f) | |
|
455 | if state == b'a' or entry is not None and entry.removed: | |
|
455 | 456 | scmutil.checkfilename(f) |
|
456 | 457 | if self._map.hastrackeddir(f): |
|
457 | 458 | msg = _(b'directory %r already in dirstate') |
General Comments 0
You need to be logged in to leave comments.
Login now