зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1178955 - Don't pass config paths to updater; r=smacleod
They aren't needed. --HG-- extra : commitid : 62sGc753PYY extra : rebase_source : 8fc70f03909e693c20b756828045c4844b43325e extra : amend_source : aa3e557c6e81824ed8788a8412f7ead09731f42d
This commit is contained in:
Родитель
700e1bc12c
Коммит
9384a4421e
|
@ -26,7 +26,7 @@ class MercurialUpdater(object):
|
|||
self.ext_dir = os.path.join(self.state_dir, 'mercurial', 'extensions')
|
||||
self.vcs_tools_dir = os.path.join(self.state_dir, 'version-control-tools')
|
||||
|
||||
def update_all(self, config_paths):
|
||||
def update_all(self):
|
||||
try:
|
||||
os.makedirs(self.ext_dir)
|
||||
except OSError as e:
|
||||
|
|
|
@ -61,7 +61,7 @@ class VersionControlCommands(object):
|
|||
if update_only:
|
||||
from hgsetup.update import MercurialUpdater
|
||||
updater = MercurialUpdater(self._context.state_dir)
|
||||
result = updater.update_all(map(os.path.expanduser, config_paths))
|
||||
result = updater.update_all()
|
||||
else:
|
||||
from hgsetup.wizard import MercurialSetupWizard
|
||||
wizard = MercurialSetupWizard(self._context.state_dir)
|
||||
|
|
Загрузка…
Ссылка в новой задаче