mirror of
https://gerrit.googlesource.com/git-repo
synced 2024-12-21 07:16:21 +00:00
3e3340d94f
Attribute groups can now be added to manifest include, thus all projects in an included manifest file can easily modify default branch without modifying all projects in that manifest file. For example, the main manifest.xml has an include node contain revision attribute, ``` <include name="include.xml" revision="r1" /> ``` and the include.xml has some projects, ``` <project path="project1_path" name="project1_name" revision="r2" /> <project path="project2_path" name="project2_name" /> ``` With this change, the final manifest will have revision="r1" for project2. ``` <project name="project1_name" path="project1_path" revision="r2" /> <project name="project2_name" path="project2_path" revision="r1" /> ``` Test: added unit tests to cover the inheritance Change-Id: I4b8547a7198610ec3a3c6aeb2136e0c0f3557df0 Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/369714 Reviewed-by: Mike Frysinger <vapier@google.com> Commit-Queue: Shuchuan Zeng <zengshuchuan@allwinnertech.com> Tested-by: Shuchuan Zeng <zengshuchuan@allwinnertech.com> |
||
---|---|---|
.. | ||
fixtures | ||
conftest.py | ||
test_editor.py | ||
test_error.py | ||
test_git_command.py | ||
test_git_config.py | ||
test_git_superproject.py | ||
test_git_trace2_event_log.py | ||
test_hooks.py | ||
test_manifest_xml.py | ||
test_platform_utils.py | ||
test_project.py | ||
test_repo_trace.py | ||
test_ssh.py | ||
test_subcmds_init.py | ||
test_subcmds_sync.py | ||
test_subcmds.py | ||
test_update_manpages.py | ||
test_wrapper.py |