mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 977414 - mach mercurial-setup: Fix hgrc paths for extensions on Windows; r=gps
This commit is contained in:
parent
7c6e79c623
commit
062a8a4787
@ -92,9 +92,11 @@ class MercurialSetupWizard(object):
|
||||
"""Command-line wizard to help users configure Mercurial."""
|
||||
|
||||
def __init__(self, state_dir):
|
||||
self.state_dir = state_dir
|
||||
self.ext_dir = os.path.join(state_dir, 'mercurial', 'extensions')
|
||||
self.vcs_tools_dir = os.path.join(state_dir, 'version-control-tools')
|
||||
# We use normpath since Mercurial expects the hgrc to use native path
|
||||
# separators, but state_dir uses unix style paths even on Windows.
|
||||
self.state_dir = os.path.normpath(state_dir)
|
||||
self.ext_dir = os.path.join(self.state_dir, 'mercurial', 'extensions')
|
||||
self.vcs_tools_dir = os.path.join(self.state_dir, 'version-control-tools')
|
||||
self.update_vcs_tools = False
|
||||
|
||||
def run(self, config_paths):
|
||||
|
Loading…
Reference in New Issue
Block a user