Catalogs: The scm <update> XML tag is now used.
The tag can be overridden on the command line with the --update and --no-update options.
This commit is contained in:
parent
190d789a54
commit
d22ff42e42
@ -281,6 +281,12 @@ if args.no_update:
|
|||||||
else:
|
else:
|
||||||
cwd = os.getcwd()
|
cwd = os.getcwd()
|
||||||
for scm in scm_list:
|
for scm in scm_list:
|
||||||
|
# XML mandated skip, with command line override.
|
||||||
|
if not args.update:
|
||||||
|
skip = get_xml_text(scm.find('update'))
|
||||||
|
if skip == 'false':
|
||||||
|
continue
|
||||||
|
|
||||||
repo_type = get_xml_text(scm.find('type'))
|
repo_type = get_xml_text(scm.find('type'))
|
||||||
repo_path = get_xml_text(scm.find('path'))
|
repo_path = get_xml_text(scm.find('path'))
|
||||||
includes.append(repo_path)
|
includes.append(repo_path)
|
||||||
|
Loading…
Reference in New Issue
Block a user