Submitter | Katsunori FUJIWARA |
---|---|
Date | Oct. 14, 2013, 4:16 p.m. |
Message ID | <2e396a54482df124d5d4.1381767363@juju> |
Download | mbox | patch |
Permalink | /patch/2760/ |
State | Accepted |
Commit | 896a4568def7e8ac61660cf72ca92235fbcef4a6 |
Headers | show |
Comments
Patch
diff --git a/mercurial/scmutil.py b/mercurial/scmutil.py --- a/mercurial/scmutil.py +++ b/mercurial/scmutil.py @@ -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: