diff mercurial/repo.py @ 12035:ff1044230bca

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.
author Patrick Mezard <pmezard@gmail.com>
date Sun, 22 Aug 2010 13:17:34 +0200
parents 25e572394f5c
children d747774ca9da
line wrap: on
line diff
--- 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