diff --git a/mercurial/localrepo.py b/mercurial/localrepo.py --- a/mercurial/localrepo.py +++ b/mercurial/localrepo.py @@ -482,9 +482,6 @@ class localrepository(repo.repository): 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 --git a/mercurial/repo.py b/mercurial/repo.py --- a/mercurial/repo.py +++ b/mercurial/repo.py @@ -35,10 +35,3 @@ class repository(object): def cancopy(self): return self.local() - - def rjoin(self, path): - url = self.url() - if url.endswith('/'): - return url + path - else: - return url + '/' + path