зеркало из https://github.com/mozilla/gecko-dev.git
Bug 977414 - mach mercurial-setup: Fix hgrc paths for extensions on Windows; r=gps
This commit is contained in:
Родитель
1386611e1d
Коммит
46c09350dc
|
@ -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):
|
||||
|
|
Загрузка…
Ссылка в новой задаче