# HG changeset patch # User Martin von Zweigbergk # Date 1498802687 25200 # Node ID 5ebf39ae10ed135cf96dd65c929abd6cadbae275 # Parent b8ae289a7707014a6e88506a3111506e7c9023fb 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. diff -r b8ae289a7707 -r 5ebf39ae10ed mercurial/patch.py --- 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))