Submitter | Yuya Nishihara |
---|---|
Date | Oct. 28, 2017, 8:38 a.m. |
Message ID | <ee3492423f7c8b1a350b.1509179929@mimosa> |
Download | mbox | patch |
Permalink | /patch/25299/ |
State | Accepted |
Headers | show |
Comments
Patch
diff --git a/mercurial/statichttprepo.py b/mercurial/statichttprepo.py --- a/mercurial/statichttprepo.py +++ b/mercurial/statichttprepo.py @@ -10,7 +10,6 @@ from __future__ import absolute_import import errno -import os from .i18n import _ from . import ( @@ -20,6 +19,7 @@ from . import ( localrepo, manifest, namespaces, + pathutil, scmutil, store, url, @@ -99,7 +99,7 @@ def build_opener(ui, authinfo): def join(self, path): if path: - return os.path.join(self.base, path) + return pathutil.join(self.base, path) else: return self.base