changeset 19897 | 896a4568def7 |
parent 19896 | af03279c766a |
child 19899 | 8c3dcbbfb5de |
--- a/mercurial/scmutil.py Tue Oct 15 00:51:04 2013 +0900 +++ b/mercurial/scmutil.py Tue Oct 15 00:51:04 2013 +0900 @@ -217,6 +217,10 @@ raise return "" + def open(self, path, mode="r", text=False, atomictemp=False): + self.open = self.__call__ + return self.__call__(path, mode, text, atomictemp) + def read(self, path): fp = self(path, 'rb') try: