Mercurial > hg > truffle
comparison mxtool/mx.py @ 12513:bb665959fb12
commented out eager initialization of Suite.version
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Tue, 22 Oct 2013 11:01:56 +0200 |
parents | 21aa1ce5c666 |
children | 8c64f10f86b7 |
comparison
equal
deleted
inserted
replaced
12512:21aa1ce5c666 | 12513:bb665959fb12 |
---|---|
766 self.imports = [] | 766 self.imports = [] |
767 self.commands = None | 767 self.commands = None |
768 self.primary = primary | 768 self.primary = primary |
769 self.name = _suitename(mxDir) # validated in _load_projects | 769 self.name = _suitename(mxDir) # validated in _load_projects |
770 self.version = None # _hg.tip checks current version if not None | 770 self.version = None # _hg.tip checks current version if not None |
771 self.version = _hg.tip(self, False) | 771 # TODO this forces hg to be run every time mx is run |
772 #self.version = _hg.tip(self, False) | |
772 if load: | 773 if load: |
773 # load suites bottom up to make sure command overriding works properly | 774 # load suites bottom up to make sure command overriding works properly |
774 self._load_imports() | 775 self._load_imports() |
775 self._load_env() | 776 self._load_env() |
776 self._load_commands() | 777 self._load_commands() |