diff mercurial/localrepo.py @ 6526:cfeeac24fc1e

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