# HG changeset patch # User Patrick Mezard # Date 1282475854 -7200 # Node ID ff1044230bcac3c2c0a406bea194223284823595 # Parent 3bfd425f1472e4f1d8c444f4b6f037801d864897 repository: drop unused rjoin() method This method was introduced by cfeeac24fc1e but grepping the history does not reveal any call. Extensions may use it but the method intent is not even clear to me. diff -r 3bfd425f1472 -r ff1044230bca mercurial/localrepo.py --- a/mercurial/localrepo.py Tue Aug 24 15:13:11 2010 +0200 +++ b/mercurial/localrepo.py Sun Aug 22 13:17:34 2010 +0200 @@ -482,9 +482,6 @@ def wjoin(self, f): return os.path.join(self.root, f) - def rjoin(self, f): - return os.path.join(self.root, util.pconvert(f)) - def file(self, f): if f[0] == '/': f = f[1:] diff -r 3bfd425f1472 -r ff1044230bca mercurial/repo.py --- a/mercurial/repo.py Tue Aug 24 15:13:11 2010 +0200 +++ b/mercurial/repo.py Sun Aug 22 13:17:34 2010 +0200 @@ -35,10 +35,3 @@ def cancopy(self): return self.local() - - def rjoin(self, path): - url = self.url() - if url.endswith('/'): - return url + path - else: - return url + '/' + path