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.
--- 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:]
--- 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