changeset 33156:5ebf39ae10ed

patch: remove unused fsbackend._join() The function lost its last caller in 2a095d3442e0 (patch: replace functions in fsbackend to use vfs, 2014-06-05) when the callers started relying on the opener to do the join.
author Martin von Zweigbergk <martinvonz@google.com>
date Thu, 29 Jun 2017 23:04:47 -0700
parents b8ae289a7707
children 5d29c55414b3
files mercurial/patch.py
diffstat 1 files changed, 0 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/patch.py	Fri Jun 30 09:07:24 2017 -0700
+++ b/mercurial/patch.py	Thu Jun 29 23:04:47 2017 -0700
@@ -456,9 +456,6 @@
         super(fsbackend, self).__init__(ui)
         self.opener = vfsmod.vfs(basedir)
 
-    def _join(self, f):
-        return os.path.join(self.opener.base, f)
-
     def getfile(self, fname):
         if self.opener.islink(fname):
             return (self.opener.readlink(fname), (True, False))