@@ -132,6 +132,8 @@ def no_suite_discovery(func):
132132import mx_benchplot
133133import mx_downstream
134134import mx_subst
135+ import mx_tar_vcs
136+
135137
136138from mx_javamodules import JavaModuleDescriptor, make_java_module, get_java_module_info, lookup_package
137139
@@ -4751,7 +4753,7 @@ def cleanForbidden(self):
47514753class VC(object):
47524754 __metaclass__ = ABCMeta
47534755 """
4754- base class for all supported Distriuted Version Constrol abstractions
4756+ base class for all supported Distributed Version Control abstractions
47554757
47564758 :ivar str kind: the VC type identifier
47574759 :ivar str proper_name: the long name descriptor of the VCS
@@ -7667,7 +7669,7 @@ def parse_specification(import_dict, context, importer, dynamicImport=False):
76677669 if version_from and version:
76687670 abort("In import for '{}': 'version' and 'versionFrom' can not be both set".format(name), context=context)
76697671 if version is None and version_from is None:
7670- if not (in_subdir and (importer.vc_dir != importer.dir or isinstance(importer, BinarySuite))):
7672+ if not (in_subdir and (importer.vc_dir != importer.dir or isinstance(importer, BinarySuite) or isinstance(importer.vc, mx_tar_vcs.TarVC) )):
76717673 abort("In import for '{}': No version given and not a 'subdir' suite of the same repository".format(name), context=context)
76727674 if importer.isSourceSuite():
76737675 suite_dir = join(importer.vc_dir, name)
@@ -17863,7 +17865,7 @@ def main():
1786317865 _opts.__dict__['very_verbose'] = '-V' in sys.argv
1786417866 _opts.__dict__['warn'] = '--no-warning' not in sys.argv
1786517867 global _vc_systems
17866- _vc_systems = [HgConfig(), GitConfig(), BinaryVC()]
17868+ _vc_systems = [HgConfig(), GitConfig(), BinaryVC(), mx_tar_vcs.TarVC() ]
1786717869
1786817870 global _mx_suite
1786917871 _mx_suite = MXSuite()
0 commit comments