Show More
@@ -724,6 +724,13 b' class dirstate(object):' | |||
|
724 | 724 | |
|
725 | 725 | def remove(self, f): |
|
726 | 726 | '''Mark a file removed''' |
|
727 | if not self.pendingparentchange(): | |
|
728 | util.nouideprecwarn( | |
|
729 | b"do not use `remove` outside of update/merge context." | |
|
730 | b" Use `set_untracked`", | |
|
731 | b'6.0', | |
|
732 | stacklevel=2, | |
|
733 | ) | |
|
727 | 734 | self._remove(f) |
|
728 | 735 | |
|
729 | 736 | def _remove(self, filename): |
General Comments 0
You need to be logged in to leave comments.
Login now