mercurial/scmutil.py
changeset 23581 aed981c7bebf
parent 23539 cb42050f2dad
child 23582 7559dc8c4238
--- a/mercurial/scmutil.py	Thu Dec 18 12:07:03 2014 -0600
+++ b/mercurial/scmutil.py	Mon Dec 15 13:27:46 2014 -0800
@@ -261,6 +261,13 @@
     def islink(self, path=None):
         return os.path.islink(self.join(path))
 
+    def reljoin(self, *paths):
+        """join various elements of a path together (as os.path.join would do)
+
+        The vfs base is not injected so that path stay relative. This exists
+        to allow handling of strange encoding if needed."""
+        return os.path.join(*paths)
+
     def lexists(self, path=None):
         return os.path.lexists(self.join(path))