Show More
@@ -747,6 +747,13 b' class dirstate(object):' | |||
|
747 | 747 | |
|
748 | 748 | def drop(self, f): |
|
749 | 749 | '''Drop a file from the dirstate''' |
|
750 | if not self.pendingparentchange(): | |
|
751 | util.nouideprecwarn( | |
|
752 | b"do not use `drop` outside of update/merge context." | |
|
753 | b" Use `set_untracked`", | |
|
754 | b'6.0', | |
|
755 | stacklevel=2, | |
|
756 | ) | |
|
750 | 757 | self._drop(f) |
|
751 | 758 | |
|
752 | 759 | def _drop(self, filename): |
General Comments 0
You need to be logged in to leave comments.
Login now