Skip to content
Snippets Groups Projects
Commit 3423f7e2 authored by Yuya Nishihara's avatar Yuya Nishihara
Browse files

statichttprepo: do not use platform path separator to build a URL

It wouldn't work between Windows client and Unix server.
parent 2a774cae
No related branches found
No related tags found
No related merge requests found
......@@ -10,7 +10,6 @@
from __future__ import absolute_import
import errno
import os
from .i18n import _
from . import (
......@@ -20,6 +19,7 @@
localrepo,
manifest,
namespaces,
pathutil,
scmutil,
store,
url,
......@@ -99,7 +99,7 @@
def join(self, path):
if path:
return os.path.join(self.base, path)
return pathutil.join(self.base, path)
else:
return self.base
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment