diff mercurial/localrepo.py @ 6522:cfeeac24fc1e

repo: add rjoin method
author Bryan O'Sullivan <bos@serpentine.com>
date Fri, 11 Apr 2008 22:19:52 -0700 (2008-04-12)
parents 12377957948d
children bd6bf5798f39
line wrap: on
line diff
--- a/mercurial/localrepo.py
+++ b/mercurial/localrepo.py
@@ -476,6 +476,9 @@
     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:]