statichttprepo: do not use platform path separator to build a URL
It wouldn't work between Windows client and Unix server.
--- a/mercurial/statichttprepo.py Tue Oct 24 11:15:30 2017 -0700
+++ b/mercurial/statichttprepo.py Sat Oct 28 17:23:52 2017 +0900
@@ -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