##// END OF EJS Templates
rust-dirstatemap: remove additional lookups in dirstatemap...
Raphaël Gomès -
r43574:5d404659 default
parent child Browse files
Show More
@@ -1784,6 +1784,10 b' if rustmod is not None:'
1784 1784 if parents and not self._dirtyparents:
1785 1785 self.setparents(*parents)
1786 1786
1787 self.__contains__ = self._rustmap.__contains__
1788 self.__getitem__ = self._rustmap.__getitem__
1789 self.get = self._rustmap.get
1790
1787 1791 def write(self, st, now):
1788 1792 parents = self.parents()
1789 1793 st.write(self._rustmap.write(parents[0], parents[1], now))
General Comments 0
You need to be logged in to leave comments. Login now