diff options
author | Kyunam Jo <kyunam.jo@gmail.com> | 2020-02-04 11:38:53 +0900 |
---|---|---|
committer | Mike Frysinger <vapier@google.com> | 2020-02-04 22:42:28 +0000 |
commit | bd0aae95f56d46cef665e11f2ee88581b88fcfce (patch) | |
tree | d071eff6faaf750ee88fa95804945d6b9bffe145 /docs/manifest-format.md | |
parent | e6a202f790daaf204513b8c53b824fcc246f9972 (diff) | |
download | git-repo-bd0aae95f56d46cef665e11f2ee88581b88fcfce.tar.gz |
Add a way to override the remote using <extend-project>
This commit supports for the 'remote' attribute in
<extend-project>. This avoids the need to perform a <remove-project>
followed by a <project> in local manifests.
Change-Id: I9f9347913337ec9d159bc264d15ce97881ae5398
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/253092
Tested-by: Kyunam Jo <kyunam.jo@gmail.com>
Reviewed-by: Mike Frysinger <vapier@google.com>
Diffstat (limited to 'docs/manifest-format.md')
-rw-r--r-- | docs/manifest-format.md | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/manifest-format.md b/docs/manifest-format.md index a39f97e8..b439dcb7 100644 --- a/docs/manifest-format.md +++ b/docs/manifest-format.md | |||
@@ -89,6 +89,7 @@ following DTD: | |||
89 | <!ATTLIST extend-project path CDATA #IMPLIED> | 89 | <!ATTLIST extend-project path CDATA #IMPLIED> |
90 | <!ATTLIST extend-project groups CDATA #IMPLIED> | 90 | <!ATTLIST extend-project groups CDATA #IMPLIED> |
91 | <!ATTLIST extend-project revision CDATA #IMPLIED> | 91 | <!ATTLIST extend-project revision CDATA #IMPLIED> |
92 | <!ATTLIST extend-project remote CDATA #IMPLIED> | ||
92 | 93 | ||
93 | <!ELEMENT remove-project EMPTY> | 94 | <!ELEMENT remove-project EMPTY> |
94 | <!ATTLIST remove-project name CDATA #REQUIRED> | 95 | <!ATTLIST remove-project name CDATA #REQUIRED> |
@@ -306,6 +307,9 @@ belongs. Same syntax as the corresponding element of `project`. | |||
306 | Attribute `revision`: If specified, overrides the revision of the original | 307 | Attribute `revision`: If specified, overrides the revision of the original |
307 | project. Same syntax as the corresponding element of `project`. | 308 | project. Same syntax as the corresponding element of `project`. |
308 | 309 | ||
310 | Attribute `remote`: If specified, overrides the remote of the original | ||
311 | project. Same syntax as the corresponding element of `project`. | ||
312 | |||
309 | ### Element annotation | 313 | ### Element annotation |
310 | 314 | ||
311 | Zero or more annotation elements may be specified as children of a | 315 | Zero or more annotation elements may be specified as children of a |