mercurial/repo.py
changeset 6526 cfeeac24fc1e
parent 6312 08800489257e
child 7637 1d54e2f6c0b7
--- a/mercurial/repo.py	Fri Apr 11 22:19:51 2008 -0700
+++ b/mercurial/repo.py	Fri Apr 11 22:19:52 2008 -0700
@@ -40,3 +40,9 @@
 
     def cancopy(self):
         return self.local()
+
+    def rjoin(self, path):
+        url = self.url()
+        if url.endswith('/'):
+            return url + path
+        return url + '/' + path