diff -r a020247d75e5 -r cfeeac24fc1e mercurial/repo.py --- 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